diff options
Diffstat (limited to 'modules/calendar/e-memo-shell-view-actions.c')
-rw-r--r-- | modules/calendar/e-memo-shell-view-actions.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/calendar/e-memo-shell-view-actions.c b/modules/calendar/e-memo-shell-view-actions.c index 2ed1f9c4ce..a30d0f1b1f 100644 --- a/modules/calendar/e-memo-shell-view-actions.c +++ b/modules/calendar/e-memo-shell-view-actions.c @@ -920,13 +920,15 @@ e_memo_shell_view_actions_init (EMemoShellView *memo_shell_view) ACTION (GAL_SAVE_CUSTOM_VIEW), "activate", G_CALLBACK (action_gal_save_custom_view_cb), memo_shell_view); - e_binding_new ( + g_object_bind_property ( ACTION (MEMO_PREVIEW), "active", - ACTION (MEMO_VIEW_CLASSIC), "sensitive"); + ACTION (MEMO_VIEW_CLASSIC), "sensitive", + G_BINDING_SYNC_CREATE); - e_binding_new ( + g_object_bind_property ( ACTION (MEMO_PREVIEW), "active", - ACTION (MEMO_VIEW_VERTICAL), "sensitive"); + ACTION (MEMO_VIEW_VERTICAL), "sensitive", + G_BINDING_SYNC_CREATE); e_web_view_set_open_proxy (web_view, ACTION (MEMO_OPEN)); e_web_view_set_print_proxy (web_view, ACTION (MEMO_PRINT)); |