aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-task-shell-view-actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/calendar/e-task-shell-view-actions.c')
-rw-r--r--modules/calendar/e-task-shell-view-actions.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/calendar/e-task-shell-view-actions.c b/modules/calendar/e-task-shell-view-actions.c
index d4fb94c2e5..b08f9656c9 100644
--- a/modules/calendar/e-task-shell-view-actions.c
+++ b/modules/calendar/e-task-shell-view-actions.c
@@ -1133,6 +1133,14 @@ e_task_shell_view_actions_init (ETaskShellView *task_shell_view)
g_signal_connect (
ACTION (SEARCH_EXECUTE), "activate",
G_CALLBACK (action_search_execute_cb), task_shell_view);
+
+ e_binding_new (
+ G_OBJECT (ACTION (TASK_PREVIEW)), "active",
+ G_OBJECT (ACTION (TASK_VIEW_CLASSIC)), "sensitive");
+
+ e_binding_new (
+ G_OBJECT (ACTION (TASK_PREVIEW)), "active",
+ G_OBJECT (ACTION (TASK_VIEW_VERTICAL)), "sensitive");
}
void