aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-component.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2005-10-18 18:30:52 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-10-18 18:30:52 +0800
commit2306d4b806323af7d0c1c3ca21cc712e69aa103e (patch)
tree48a0c7bdedf0693726863355bcd7a890c6e9c5b0 /calendar/gui/calendar-component.c
parentc9c7d379de1d9f7c2a219c5cd64df7a630e6519f (diff)
downloadgsoc2013-evolution-2306d4b806323af7d0c1c3ca21cc712e69aa103e.tar
gsoc2013-evolution-2306d4b806323af7d0c1c3ca21cc712e69aa103e.tar.gz
gsoc2013-evolution-2306d4b806323af7d0c1c3ca21cc712e69aa103e.tar.bz2
gsoc2013-evolution-2306d4b806323af7d0c1c3ca21cc712e69aa103e.tar.lz
gsoc2013-evolution-2306d4b806323af7d0c1c3ca21cc712e69aa103e.tar.xz
gsoc2013-evolution-2306d4b806323af7d0c1c3ca21cc712e69aa103e.tar.zst
gsoc2013-evolution-2306d4b806323af7d0c1c3ca21cc712e69aa103e.zip
fixes #308802.
svn path=/trunk/; revision=30526
Diffstat (limited to 'calendar/gui/calendar-component.c')
-rw-r--r--calendar/gui/calendar-component.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index 5893181847..ba48b577bd 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -1145,6 +1145,9 @@ setup_create_ecal (CalendarComponent *calendar_component, CalendarComponentView
if (priv->create_ecal) {
icaltimezone *zone;
+
+ zone = calendar_config_get_icaltimezone ();
+ e_cal_set_default_timezone (priv->create_ecal, zone, NULL);
if (!e_cal_open (priv->create_ecal, FALSE, NULL)) {
GtkWidget *dialog;
@@ -1159,9 +1162,6 @@ setup_create_ecal (CalendarComponent *calendar_component, CalendarComponentView
return NULL;
}
- zone = calendar_config_get_icaltimezone ();
- e_cal_set_default_timezone (priv->create_ecal, zone, NULL);
-
} else {
GtkWidget *dialog;