diff options
author | Dan Winship <danw@src.gnome.org> | 2004-05-12 03:29:04 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2004-05-12 03:29:04 +0800 |
commit | 1b15216f5e285a231bcf5c7165be88607642c259 (patch) | |
tree | bbaf70b91a5f8ea5293bf870fe82b19d16971231 /calendar/gui/main.c | |
parent | 7f8c30cebcdfd7f63674be90cab467bd6a7495d7 (diff) | |
download | gsoc2013-evolution-1b15216f5e285a231bcf5c7165be88607642c259.tar.gz gsoc2013-evolution-1b15216f5e285a231bcf5c7165be88607642c259.tar.zst gsoc2013-evolution-1b15216f5e285a231bcf5c7165be88607642c259.zip |
Remove the calendar and task list controls
* gui/GNOME_Evolution_Calendar.server.in.in: Remove the calendar
and task list controls
* gui/main.c (factory): Remove support for the calendar and task
list controls
* gui/control-factory.c: Remove the property-bag stuff
* gui/tasks-control.c: Likewise
svn path=/trunk/; revision=25857
Diffstat (limited to 'calendar/gui/main.c')
-rw-r--r-- | calendar/gui/main.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/calendar/gui/main.c b/calendar/gui/main.c index 80077d49a7..ecfa80bb5a 100644 --- a/calendar/gui/main.c +++ b/calendar/gui/main.c @@ -51,9 +51,7 @@ #define FACTORY_ID "OAFIID:GNOME_Evolution_Calendar_Factory:" BASE_VERSION #define CALENDAR_COMPONENT_ID "OAFIID:GNOME_Evolution_Calendar_Component:" BASE_VERSION -#define CALENDAR_CONTROL_ID "OAFIID:GNOME_Evolution_Calendar_Control:" BASE_VERSION #define TASKS_COMPONENT_ID "OAFIID:GNOME_Evolution_Tasks_Component:" BASE_VERSION -#define TASKS_CONTROL_ID "OAFIID:GNOME_Evolution_Tasks_Control:" BASE_VERSION #define ITIP_CONTROL_ID "OAFIID:GNOME_Evolution_Calendar_iTip_Control:" BASE_VERSION #define CONFIG_CONTROL_ID "OAFIID:GNOME_Evolution_Calendar_ConfigControl:" BASE_VERSION #define COMP_EDITOR_FACTORY_ID "OAFIID:GNOME_Evolution_Calendar_CompEditorFactory:" BASE_VERSION @@ -162,15 +160,11 @@ factory (BonoboGenericFactory *factory, BonoboObject *object = BONOBO_OBJECT (calendar_component_peek ()); bonobo_object_ref (object); return object; - } else if (strcmp (component_id, CALENDAR_CONTROL_ID) == 0) - return BONOBO_OBJECT (control_factory_new_control ()); - else if (strcmp (component_id, TASKS_COMPONENT_ID) == 0) { + } else if (strcmp (component_id, TASKS_COMPONENT_ID) == 0) { BonoboObject *object = BONOBO_OBJECT (tasks_component_peek ()); bonobo_object_ref (object); return object; - } else if (strcmp (component_id, TASKS_CONTROL_ID) == 0) - return BONOBO_OBJECT (tasks_control_new ()); - else if (strcmp (component_id, ITIP_CONTROL_ID) == 0) + } else if (strcmp (component_id, ITIP_CONTROL_ID) == 0) return BONOBO_OBJECT (itip_bonobo_control_new ()); else if (strcmp (component_id, CONFIG_CONTROL_ID) == 0) return BONOBO_OBJECT (cal_prefs_dialog_new ()); |