diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-01-30 03:02:53 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-01-30 22:02:11 +0800 |
commit | ab794abcd3fa23969a1f8b04d0236838f721180a (patch) | |
tree | 1e70c65ac5dba3294df2754a89a939b864cf6bcf /modules/calendar/e-cal-shell-view-private.c | |
parent | 8d85229f8fc9ff0e27b1f7790f61605c04337d7b (diff) | |
download | gsoc2013-evolution-ab794abcd3fa23969a1f8b04d0236838f721180a.tar.gz gsoc2013-evolution-ab794abcd3fa23969a1f8b04d0236838f721180a.tar.zst gsoc2013-evolution-ab794abcd3fa23969a1f8b04d0236838f721180a.zip |
Improve sidebar and ECalModel interaction.
Restores the "default client" behavior from 2.28, so that "Click to Add"
task and memo fields work properly.
Diffstat (limited to 'modules/calendar/e-cal-shell-view-private.c')
-rw-r--r-- | modules/calendar/e-cal-shell-view-private.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/calendar/e-cal-shell-view-private.c b/modules/calendar/e-cal-shell-view-private.c index 74a2bbcaf5..b5f9ba55d7 100644 --- a/modules/calendar/e-cal-shell-view-private.c +++ b/modules/calendar/e-cal-shell-view-private.c @@ -566,6 +566,11 @@ e_cal_shell_view_private_constructed (ECalShellView *cal_shell_view) e_cal_shell_view_update_search_filter (cal_shell_view); e_cal_shell_view_update_timezone (cal_shell_view); + /* Keep the ECalModel in sync with the sidebar. */ + e_binding_new ( + shell_sidebar, "default-client", + model, "default-client"); + /* Keep the toolbar view buttons in sync with the calendar. */ e_mutual_binding_new ( calendar, "view", |