aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-window-actions.c')
-rw-r--r--shell/e-shell-window-actions.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c
index e11563fa10..13c2d42506 100644
--- a/shell/e-shell-window-actions.c
+++ b/shell/e-shell-window-actions.c
@@ -720,7 +720,12 @@ static void
action_preferences_cb (GtkAction *action,
EShellWindow *window)
{
- e_shell_show_preferences (GTK_WINDOW (window));
+ GtkWidget *preferences_window;
+
+ preferences_window = e_shell_get_preferences_window ();
+ gtk_window_present (GTK_WINDOW (preferences_window));
+
+ /* FIXME Switch to a page appropriate for the current view. */
}
static void