aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-cal-shell-sidebar.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-04-13 05:44:28 +0800
committerMilan Crha <mcrha@redhat.com>2010-04-13 05:44:28 +0800
commitc0855fa50a3bd29facbbbe4122409cf36050a66a (patch)
treeb76383fd4f47aa7928d16575491d33a18c38a87b /modules/calendar/e-cal-shell-sidebar.c
parent51e5ae5524c778309800530e1e25fdf74f2226da (diff)
downloadgsoc2013-evolution-c0855fa50a3bd29facbbbe4122409cf36050a66a.tar.gz
gsoc2013-evolution-c0855fa50a3bd29facbbbe4122409cf36050a66a.tar.zst
gsoc2013-evolution-c0855fa50a3bd29facbbbe4122409cf36050a66a.zip
Bug #611646 - Calendar shows recurring birthdays incorrectly
Diffstat (limited to 'modules/calendar/e-cal-shell-sidebar.c')
-rw-r--r--modules/calendar/e-cal-shell-sidebar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/calendar/e-cal-shell-sidebar.c b/modules/calendar/e-cal-shell-sidebar.c
index 2f48755b77..db0d0a072f 100644
--- a/modules/calendar/e-cal-shell-sidebar.c
+++ b/modules/calendar/e-cal-shell-sidebar.c
@@ -36,6 +36,7 @@
#include "e-cal-shell-view.h"
#include "e-cal-shell-backend.h"
+#include "e-cal-shell-content.h"
#define E_CAL_SHELL_SIDEBAR_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE \
@@ -303,6 +304,7 @@ cal_shell_sidebar_set_default (ECalShellSidebar *cal_shell_sidebar,
G_CALLBACK (cal_shell_sidebar_default_opened_cb),
cal_shell_sidebar);
+ e_cal_set_default_timezone (client, e_cal_model_get_timezone (e_cal_shell_content_get_model (E_CAL_SHELL_CONTENT (e_shell_view_get_shell_content (e_shell_sidebar_get_shell_view (E_SHELL_SIDEBAR (cal_shell_sidebar)))))), NULL);
e_cal_open_async (client, FALSE);
}
@@ -956,6 +958,7 @@ e_cal_shell_sidebar_add_source (ECalShellSidebar *cal_shell_sidebar,
G_CALLBACK (cal_shell_sidebar_client_opened_cb),
cal_shell_sidebar);
+ e_cal_set_default_timezone (client, e_cal_model_get_timezone (e_cal_shell_content_get_model (E_CAL_SHELL_CONTENT (e_shell_view_get_shell_content (e_shell_sidebar_get_shell_view (E_SHELL_SIDEBAR (cal_shell_sidebar)))))), NULL);
e_cal_open_async (client, FALSE);
}