aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-02-04 03:09:50 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-02-04 03:11:02 +0800
commit9a8f21c44bfe5d0efad1ae0ca1758c0d7c41f590 (patch)
treed80b7eccb92219ddba8bb69f3d48157e0c31b6c4 /shell
parentf5c6386947043c620fbfd2a6848d025b50a50bed (diff)
downloadgsoc2013-evolution-9a8f21c44bfe5d0efad1ae0ca1758c0d7c41f590.tar
gsoc2013-evolution-9a8f21c44bfe5d0efad1ae0ca1758c0d7c41f590.tar.gz
gsoc2013-evolution-9a8f21c44bfe5d0efad1ae0ca1758c0d7c41f590.tar.bz2
gsoc2013-evolution-9a8f21c44bfe5d0efad1ae0ca1758c0d7c41f590.tar.lz
gsoc2013-evolution-9a8f21c44bfe5d0efad1ae0ca1758c0d7c41f590.tar.xz
gsoc2013-evolution-9a8f21c44bfe5d0efad1ae0ca1758c0d7c41f590.tar.zst
gsoc2013-evolution-9a8f21c44bfe5d0efad1ae0ca1758c0d7c41f590.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);
- }
}
}