aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-02-04 03:09:50 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:31 +0800
commitcc292ebbfe30d52b55c8309ef9083da9231e2626 (patch)
treed5d5c3a85b4393cee3611cdae0a7fe230ae5e70f /shell
parent59d358e340ec3fe46dc38706d09ac332b173702b (diff)
downloadgsoc2013-evolution-cc292ebbfe30d52b55c8309ef9083da9231e2626.tar.gz
gsoc2013-evolution-cc292ebbfe30d52b55c8309ef9083da9231e2626.tar.zst
gsoc2013-evolution-cc292ebbfe30d52b55c8309ef9083da9231e2626.zip
Composer: Add Edit -> Preferences
Opens the Preferences window to the Composer Preferences section.
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-window-actions.c5
1 files changed, 2 insertions, 3 deletions
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);
- }
}
}