From d084ec18e84d91c36dc68d4c336511577d816a7a Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 9 Apr 2004 15:47:38 +0000 Subject: Create an EUserCreatableItemsHandler for the view. (emfv_finalise): Unref * em-folder-view.c (emfv_init): Create an EUserCreatableItemsHandler for the view. (emfv_finalise): Unref it. (emfv_activate): Activate it * mail-component.c (impl__get_userCreatableItems): add object/folder flags to the items svn path=/trunk/; revision=25380 --- mail/mail-component.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mail/mail-component.c') diff --git a/mail/mail-component.c b/mail/mail-component.c index ee1bfccc74..58648a9cbd 100644 --- a/mail/mail-component.c +++ b/mail/mail-component.c @@ -622,6 +622,7 @@ impl__get_userCreatableItems (PortableServer_Servant servant, CORBA_Environment list->_buffer[0].tooltip = _("Compose a new mail message"); list->_buffer[0].menuShortcut = 'm'; list->_buffer[0].iconName = "new-message.xpm"; + list->_buffer[0].type = GNOME_Evolution_CREATABLE_OBJECT; list->_buffer[1].id = "folder"; list->_buffer[1].description = _("New Mail Folder"); @@ -629,6 +630,7 @@ impl__get_userCreatableItems (PortableServer_Servant servant, CORBA_Environment list->_buffer[1].tooltip = _("Create a new mail folder"); list->_buffer[1].menuShortcut = 'f'; list->_buffer[1].iconName = "folder-mini.png"; + list->_buffer[1].type = GNOME_Evolution_CREATABLE_FOLDER; return list; } -- cgit v1.2.3