[evolution-patches] 62021 Not setting default timezone everywhere we need to
- From: JP Rosevear <jpr novell com>
- To: evolution-patches ximian com
- Subject: [evolution-patches] 62021 Not setting default timezone everywhere we need to
- Date: Fri, 06 Aug 2004 12:13:20 -0400
Usually this works fine because the person is using the component view
which sets it, but they may not always be.
-JP
--
JP Rosevear <jpr novell com>
Novell, Inc.
? 62021.patch
? 62452.patch
? editable.patch
? invitations.patch
? recur-dialog.patch
? repeat-load.patch
? gui/scroll.patch
? gui/select-auto.patch
? gui/select.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2477
diff -u -r1.2477 ChangeLog
--- ChangeLog 6 Aug 2004 10:05:23 -0000 1.2477
+++ ChangeLog 6 Aug 2004 16:14:47 -0000
@@ -1,3 +1,19 @@
+2004-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
+
2004-08-05 Parthasarathi S A <sparthasarathi novell com>
Fix for bug #61673.
Index: gui/calendar-component.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/calendar-component.c,v
retrieving revision 1.181
diff -u -r1.181 calendar-component.c
--- gui/calendar-component.c 5 Aug 2004 13:28:03 -0000 1.181
+++ gui/calendar-component.c 6 Aug 2004 16:14:48 -0000
@@ -921,6 +921,8 @@
}
if (priv->create_ecal) {
+ icaltimezone *zone;
+
if (!e_cal_open (priv->create_ecal, FALSE, NULL)) {
GtkWidget *dialog;
@@ -933,6 +935,10 @@
return NULL;
}
+
+ zone = calendar_config_get_icaltimezone ();
+ e_cal_set_default_timezone (priv->create_ecal, zone, NULL);
+
} else {
GtkWidget *dialog;
Index: gui/e-itip-control.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/e-itip-control.c,v
retrieving revision 1.156
diff -u -r1.156 e-itip-control.c
--- gui/e-itip-control.c 4 Aug 2004 04:32:12 -0000 1.156
+++ gui/e-itip-control.c 6 Aug 2004 16:14:48 -0000
@@ -131,6 +131,7 @@
{
EItipControlPrivate *priv;
ECal *ecal;
+ icaltimezone *zone;
priv = itip->priv;
@@ -142,6 +143,9 @@
if (!e_cal_open (ecal, TRUE, NULL))
return NULL;
+ zone = calendar_config_get_icaltimezone ();
+ e_cal_set_default_timezone (ecal, zone, NULL);
+
g_hash_table_insert (priv->ecals[type], g_strdup (e_source_peek_uid (source)), ecal);
return ecal;
Index: gui/tasks-component.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/tasks-component.c,v
retrieving revision 1.72
diff -u -r1.72 tasks-component.c
--- gui/tasks-component.c 26 Jul 2004 15:35:36 -0000 1.72
+++ gui/tasks-component.c 6 Aug 2004 16:14:48 -0000
@@ -748,6 +748,8 @@
}
if (priv->create_ecal) {
+ icaltimezone *zone;
+
if (!e_cal_open (priv->create_ecal, FALSE, NULL)) {
GtkWidget *dialog;
@@ -760,6 +762,9 @@
return NULL;
}
+
+ zone = calendar_config_get_icaltimezone ();
+ e_cal_set_default_timezone (priv->create_ecal, zone, NULL);
} else {
GtkWidget *dialog;
Index: gui/dialogs/event-page.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/event-page.c,v
retrieving revision 1.72
diff -u -r1.72 event-page.c
--- gui/dialogs/event-page.c 12 Jul 2004 10:29:47 -0000 1.72
+++ gui/dialogs/event-page.c 6 Aug 2004 16:14:49 -0000
@@ -1607,6 +1607,11 @@
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]