aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/tasks-component.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/tasks-component.c
parentc35cccb170c74c3656ce0981b7e6376d712fca5b (diff)
downloadgsoc2013-evolution-4a8b6d717107d83401695ffdec711a5452095c27.tar
gsoc2013-evolution-4a8b6d717107d83401695ffdec711a5452095c27.tar.gz
gsoc2013-evolution-4a8b6d717107d83401695ffdec711a5452095c27.tar.bz2
gsoc2013-evolution-4a8b6d717107d83401695ffdec711a5452095c27.tar.lz
gsoc2013-evolution-4a8b6d717107d83401695ffdec711a5452095c27.tar.xz
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/tasks-component.c')
-rw-r--r--calendar/gui/tasks-component.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c
index 5b1683a0e4..12383124f4 100644
--- a/calendar/gui/tasks-component.c
+++ b/calendar/gui/tasks-component.c
@@ -562,13 +562,15 @@ impl__get_userCreatableItems (PortableServer_Servant servant,
list->_buffer[0].tooltip = _("Create a new task");
list->_buffer[0].menuShortcut = 't';
list->_buffer[0].iconName = "new_task-16.png";
+ list->_buffer[0].type = GNOME_Evolution_CREATABLE_OBJECT;
list->_buffer[1].id = CREATE_TASK_LIST_ID;
- list->_buffer[1].description = _("New task list");
- list->_buffer[1].menuDescription = _("_Task List");
- list->_buffer[1].tooltip = _("Create a new task list");
+ list->_buffer[1].description = _("New tasks group");
+ list->_buffer[1].menuDescription = _("_Tasks Group");
+ list->_buffer[1].tooltip = _("Create a new tasks group");
list->_buffer[1].menuShortcut = 'n';
list->_buffer[1].iconName = "evolution-tasks-mini.png";
+ list->_buffer[1].type = GNOME_Evolution_CREATABLE_FOLDER;
return list;
}