From 9a8f21c44bfe5d0efad1ae0ca1758c0d7c41f590 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 3 Feb 2011 14:09:50 -0500 Subject: Composer: Add Edit -> Preferences Opens the Preferences window to the Composer Preferences section. --- shell/e-shell-window-actions.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'shell/e-shell-window-actions.c') diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c index 6547ba6d76..928cab79c3 100644 --- a/shell/e-shell-window-actions.c +++ b/shell/e-shell-window-actions.c @@ -930,15 +930,14 @@ action_preferences_cb (GtkAction *action, shell_backend_class = E_SHELL_BACKEND_GET_CLASS (shell_backend); if (shell_backend_class->preferences_page != NULL) { - if (e_shell_get_express_mode (shell)) { + if (e_shell_get_express_mode (shell)) e_preferences_window_filter_page ( E_PREFERENCES_WINDOW (preferences_window), shell_backend_class->preferences_page); - } else { + else e_preferences_window_show_page ( E_PREFERENCES_WINDOW (preferences_window), shell_backend_class->preferences_page); - } } } -- cgit v1.2.3