aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2001-10-25 16:51:13 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-10-25 16:51:13 +0800
commit165526e4cf8c02df1e40bca3d8e1b238094de0f4 (patch)
treeaeb6bfb8f4cba1fc5d4bacb53591d59d776bd4b6 /calendar
parent18399fc356d0ab6d030f7267da2c0847a6642eab (diff)
downloadgsoc2013-evolution-165526e4cf8c02df1e40bca3d8e1b238094de0f4.tar.gz
gsoc2013-evolution-165526e4cf8c02df1e40bca3d8e1b238094de0f4.tar.zst
gsoc2013-evolution-165526e4cf8c02df1e40bca3d8e1b238094de0f4.zip
Ifdef-ed out the PersistFile bits.
2001-10-25 Federico Mena Quintero <federico@ximian.com> * gui/control-factory.c: Ifdef-ed out the PersistFile bits. svn path=/trunk/; revision=14089
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog2
-rw-r--r--calendar/gui/control-factory.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index a32bf7870a..bbbc513681 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,7 @@
2001-10-25 Federico Mena Quintero <federico@ximian.com>
+ * gui/control-factory.c: Ifdef-ed out the PersistFile bits.
+
* gui/GNOME_Evolution_Calendar.oaf.in: The tasks folder does not
support the PersistFile interface; removed it. Removed it as well
from the calendar folder since it is aggregated but not actually
diff --git a/calendar/gui/control-factory.c b/calendar/gui/control-factory.c
index 928b8e45ab..29d9e38cb3 100644
--- a/calendar/gui/control-factory.c
+++ b/calendar/gui/control-factory.c
@@ -162,6 +162,7 @@ control_factory_init (void)
g_error ("I could not register a Calendar control factory.");
}
+#if 0
static int
load_calendar (BonoboPersistFile *pf, const CORBA_char *filename, CORBA_Environment *ev, void *closure)
{
@@ -187,6 +188,7 @@ calendar_persist_init (GnomeCalendar *gcal, BonoboControl *control)
f = bonobo_persist_file_new (load_calendar, save_calendar, gcal);
bonobo_object_add_interface (BONOBO_OBJECT (control), BONOBO_OBJECT (f));
}
+#endif
static void
on_calendar_dates_shown_changed (GnomeCalendar *gcal, BonoboControl *control)
@@ -214,7 +216,9 @@ control_factory_new_control (void)
}
calendar_properties_init (gcal, control);
+#if 0
calendar_persist_init (gcal, control);
+#endif
gtk_signal_connect (GTK_OBJECT (control), "activate",
GTK_SIGNAL_FUNC (control_activate_cb), gcal);