[evolution-patches] missing assignment
- From: Rodrigo Moya <rodrigo ximian com>
- To: Evolution Patches <evolution-patches ximian com>
- Subject: [evolution-patches] missing assignment
- Date: 20 May 2003 00:26:54 +0200
This adds a missing assignment to avoid multiple initializations of the
calendar component.
? gui/alarm-notify/alarm-notify.gladep
? gui/dialogs/alarm-options.gladep
? gui/dialogs/alarm-page.gladep
? gui/dialogs/cal-prefs-dialog.gladep
? gui/dialogs/e-delegate-dialog.gladep
? gui/dialogs/event-page.gladep
? gui/dialogs/meeting-page.gladep
? gui/dialogs/recurrence-page.gladep
? gui/dialogs/schedule-page.gladep
? gui/dialogs/task-details-page.gladep
? gui/dialogs/task-page.gladep
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.1774
diff -u -p -r1.1774 ChangeLog
--- ChangeLog 19 May 2003 17:06:13 -0000 1.1774
+++ ChangeLog 19 May 2003 22:23:23 -0000
@@ -1,3 +1,8 @@
+2003-05-19 Rodrigo Moya <rodrigo ximian com>
+
+ * gui/main.c (factory): set 'initialized' to TRUE when initialization
+ is done, or we get the initialization code called over and over.
+
2003-05-19 Anna Marie Dirks <anna ximian com>
* gui/e-meeting-time-sel.c: (e_meeting_time_selector_construct):
Index: gui/main.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/main.c,v
retrieving revision 1.156
diff -u -p -r1.156 main.c
--- gui/main.c 28 Feb 2003 18:13:11 -0000 1.156
+++ gui/main.c 19 May 2003 22:23:23 -0000
@@ -150,8 +150,10 @@ factory (BonoboGenericFactory *factory,
{
static gboolean initialized = FALSE;
- if (! initialized)
+ if (! initialized) {
initialize ();
+ initialized = TRUE;
+ }
if (strcmp (component_id, CALENDAR_COMPONENT_ID) == 0)
return calendar_component_get_object ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]