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
This commit is contained in:
committed by
Federico Mena Quintero
parent
18399fc356
commit
165526e4cf
@ -1,5 +1,7 @@
|
|||||||
2001-10-25 Federico Mena Quintero <federico@ximian.com>
|
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
|
* gui/GNOME_Evolution_Calendar.oaf.in: The tasks folder does not
|
||||||
support the PersistFile interface; removed it. Removed it as well
|
support the PersistFile interface; removed it. Removed it as well
|
||||||
from the calendar folder since it is aggregated but not actually
|
from the calendar folder since it is aggregated but not actually
|
||||||
|
|||||||
@ -162,6 +162,7 @@ control_factory_init (void)
|
|||||||
g_error ("I could not register a Calendar control factory.");
|
g_error ("I could not register a Calendar control factory.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
static int
|
static int
|
||||||
load_calendar (BonoboPersistFile *pf, const CORBA_char *filename, CORBA_Environment *ev, void *closure)
|
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);
|
f = bonobo_persist_file_new (load_calendar, save_calendar, gcal);
|
||||||
bonobo_object_add_interface (BONOBO_OBJECT (control), BONOBO_OBJECT (f));
|
bonobo_object_add_interface (BONOBO_OBJECT (control), BONOBO_OBJECT (f));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
on_calendar_dates_shown_changed (GnomeCalendar *gcal, BonoboControl *control)
|
on_calendar_dates_shown_changed (GnomeCalendar *gcal, BonoboControl *control)
|
||||||
@ -214,7 +216,9 @@ control_factory_new_control (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
calendar_properties_init (gcal, control);
|
calendar_properties_init (gcal, control);
|
||||||
|
#if 0
|
||||||
calendar_persist_init (gcal, control);
|
calendar_persist_init (gcal, control);
|
||||||
|
#endif
|
||||||
|
|
||||||
gtk_signal_connect (GTK_OBJECT (control), "activate",
|
gtk_signal_connect (GTK_OBJECT (control), "activate",
|
||||||
GTK_SIGNAL_FUNC (control_activate_cb), gcal);
|
GTK_SIGNAL_FUNC (control_activate_cb), gcal);
|
||||||
|
|||||||
Reference in New Issue
Block a user