diff options
Diffstat (limited to 'shell/e-shell-window-actions.c')
-rw-r--r-- | shell/e-shell-window-actions.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c index 77e50c50d4..4fc8448518 100644 --- a/shell/e-shell-window-actions.c +++ b/shell/e-shell-window-actions.c @@ -1873,6 +1873,30 @@ e_shell_window_actions_init (EShellWindow *shell_window) /* Fine tuning. */ g_object_set (ACTION (SEND_RECEIVE), "is-important", TRUE, NULL); + + e_binding_new ( + G_OBJECT (ACTION (SHOW_SIDEBAR)), "active", + G_OBJECT (ACTION (SHOW_SWITCHER)), "sensitive"); + + e_binding_new ( + G_OBJECT (ACTION (SHOW_SIDEBAR)), "active", + G_OBJECT (ACTION (SWITCHER_STYLE_BOTH)), "sensitive"); + + e_binding_new ( + G_OBJECT (ACTION (SHOW_SIDEBAR)), "active", + G_OBJECT (ACTION (SWITCHER_STYLE_ICONS)), "sensitive"); + + e_binding_new ( + G_OBJECT (ACTION (SHOW_SIDEBAR)), "active", + G_OBJECT (ACTION (SWITCHER_STYLE_TEXT)), "sensitive"); + + e_binding_new ( + G_OBJECT (ACTION (SHOW_SIDEBAR)), "active", + G_OBJECT (ACTION (SWITCHER_STYLE_USER)), "sensitive"); + + e_binding_new ( + G_OBJECT (ACTION (SHOW_SIDEBAR)), "active", + G_OBJECT (ACTION (SWITCHER_MENU)), "sensitive"); } GtkWidget * |