aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-window-actions.c24
-rw-r--r--shell/e-shell-window-actions.h2
2 files changed, 26 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 *
diff --git a/shell/e-shell-window-actions.h b/shell/e-shell-window-actions.h
index 3b8774a494..757487b72f 100644
--- a/shell/e-shell-window-actions.h
+++ b/shell/e-shell-window-actions.h
@@ -83,6 +83,8 @@
E_SHELL_WINDOW_ACTION ((window), "submit-bug")
#define E_SHELL_WINDOW_ACTION_SWITCHER_INITIAL(window) \
E_SHELL_WINDOW_ACTION ((window), "switcher-initial")
+#define E_SHELL_WINDOW_ACTION_SWITCHER_MENU(window) \
+ E_SHELL_WINDOW_ACTION ((window), "switcher-menu")
#define E_SHELL_WINDOW_ACTION_SWITCHER_STYLE_BOTH(window) \
E_SHELL_WINDOW_ACTION ((window), "switcher-style-both")
#define E_SHELL_WINDOW_ACTION_SWITCHER_STYLE_ICONS(window) \
ass='column1'>| | | | news) * - convert to the new perl5 frameworkaz2013-09-021-1/+1 | | | | Approved by: portmgr (bapt@, blanket) * Update cleanfeed to latest releasejohans2011-02-252-4/+3 | * - Update to recent cleanfeed release by Steve Crook (2. June)johans2010-06-044-15/+36 | | | | | | | - Claim maintainership - Now installs a .sample config files and doesn't override the original (cleanfeed.local) if it has been edited - Internal files moved into a separate directory (upstream default) * - lang/perl5.6 is dead, remove PERL_LEVEL/PERL_VERSION < 500801 checkspgollucci2009-07-231-7/+1 | | | | | | PR: ports/135398 Tested by: 2 -exp runs by pav Approved by: portmgr (pav) * Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.linimon2007-09-081-0/+1 | | | | | | | | Drop support for antique perl. Work done by: gabor Sponsored by: Google Summer of Code 2007 Hat: portmgr * Remove USE_REINPLACE from all categories starting with Nedwin2006-05-121-1/+0 | * - Add SHA256pav2005-11-261-0/+1 | * - add PKG_PREFIX=${PREFIX} when running ${PKGINSTALL}leeym2004-12-271-1/+1 | | | | | | Noticed by: kris PR: 75508 Submitted by: atomer <atomer@gmail.com>