aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-08-08 06:32:15 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-08-08 06:32:15 +0800
commit2ff03903a0e8f58fd5357ed43bc3af1bcb6ce6a0 (patch)
treeae336bb4701045a13bff723c8bdbdfe10f5b2e45 /calendar/gui/dialogs
parentb97f782b8cbb101671f63e1d1c7eb29f288777ea (diff)
downloadgsoc2013-evolution-2ff03903a0e8f58fd5357ed43bc3af1bcb6ce6a0.tar.gz
gsoc2013-evolution-2ff03903a0e8f58fd5357ed43bc3af1bcb6ce6a0.tar.zst
gsoc2013-evolution-2ff03903a0e8f58fd5357ed43bc3af1bcb6ce6a0.zip
Fixes #62021
004-08-06 JP Rosevear <jpr@ximian.com> Fixes #62021 * gui/dialogs/event-page.c (source_changed_cb): set the default timezone * gui/e-itip-control.c (start_calendar_server): set the default timezone * gui/calendar-component.c (setup_create_ecal): set the default timezone, as the component view is not alive and hence has not set it * gui/tasks-component.c (setup_create_ecal): ditto svn path=/trunk/; revision=26849
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/event-page.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c
index af7768e69f..0b6fa70727 100644
--- a/calendar/gui/dialogs/event-page.c
+++ b/calendar/gui/dialogs/event-page.c
@@ -1607,6 +1607,11 @@ source_changed_cb (GtkWidget *widget, ESource *source, gpointer data)
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
} else {
+ icaltimezone *zone;
+
+ zone = calendar_config_get_icaltimezone ();
+ e_cal_set_default_timezone (client, zone, NULL);
+
comp_editor_notify_client_changed (
COMP_EDITOR (gtk_widget_get_toplevel (priv->main)),
client);