aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-commands.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2004-04-09 23:56:21 +0800
committerDan Winship <danw@src.gnome.org>2004-04-09 23:56:21 +0800
commit4a8b6d717107d83401695ffdec711a5452095c27 (patch)
treeb5089994caf758d256c733330738deb95d4c163c /calendar/gui/calendar-commands.c
parentc35cccb170c74c3656ce0981b7e6376d712fca5b (diff)
downloadgsoc2013-evolution-4a8b6d717107d83401695ffdec711a5452095c27.tar.gz
gsoc2013-evolution-4a8b6d717107d83401695ffdec711a5452095c27.tar.zst
gsoc2013-evolution-4a8b6d717107d83401695ffdec711a5452095c27.zip
Create an EUserCreatableItemsHandler for the view if there isn't one yet,
* gui/gnome-cal.c (gnome_calendar_set_ui_component): Create an EUserCreatableItemsHandler for the view if there isn't one yet, and then activate it. (gnome_calendar_destroy): destroy it. * gui/calendar-component.c (impl__get_userCreatableItems): add object/folder flags to items. * gui/e-tasks.c (e_tasks_set_ui_component): Create an EUserCreatableItemsHandler for the view if there isn't one yet, and then activate it. (e_tasks_destroy): destroy it. * gui/tasks-component.c (impl__get_userCreatableItems): add object/folder flags. Change "Task List" to "Tasks Group" per new specs. * gui/calendar-commands.c (calendar_control_deactivate): clear the GnomeCal's ui_component rather than setting it again svn path=/trunk/; revision=25382
Diffstat (limited to 'calendar/gui/calendar-commands.c')
-rw-r--r--calendar/gui/calendar-commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/calendar-commands.c b/calendar/gui/calendar-commands.c
index d26230ce47..0b9d2a34c0 100644
--- a/calendar/gui/calendar-commands.c
+++ b/calendar/gui/calendar-commands.c
@@ -787,7 +787,7 @@ calendar_control_deactivate (BonoboControl *control, GnomeCalendar *gcal)
uic = bonobo_control_get_ui_component (control);
g_assert (uic != NULL);
- gnome_calendar_set_ui_component (gcal, uic);
+ gnome_calendar_set_ui_component (gcal, NULL);
focus = g_object_get_data (G_OBJECT (control), "focus_data");
g_assert (focus != NULL);