aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook-component.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2004-04-09 23:51:36 +0800
committerDan Winship <danw@src.gnome.org>2004-04-09 23:51:36 +0800
commitc35cccb170c74c3656ce0981b7e6376d712fca5b (patch)
tree0c763052d0cad5df607203f70d67ce4b42f72a8e /addressbook/gui/component/addressbook-component.c
parentd084ec18e84d91c36dc68d4c336511577d816a7a (diff)
downloadgsoc2013-evolution-c35cccb170c74c3656ce0981b7e6376d712fca5b.tar.gz
gsoc2013-evolution-c35cccb170c74c3656ce0981b7e6376d712fca5b.tar.zst
gsoc2013-evolution-c35cccb170c74c3656ce0981b7e6376d712fca5b.zip
create an EUserCreatableItemsHandler (addressbook_view_clear): destroy it
* gui/component/addressbook.c (addressbook_new_control): create an EUserCreatableItemsHandler (addressbook_view_clear): destroy it (control_activate): Activate it * gui/component/addressbook-component.c (impl__get_userCreatableItems): Add object/folder flags to the creatable items. Rename "Address Book" to "Contacts Group" per new specs svn path=/trunk/; revision=25381
Diffstat (limited to 'addressbook/gui/component/addressbook-component.c')
-rw-r--r--addressbook/gui/component/addressbook-component.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index b066b94b3e..17da13b43e 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -553,6 +553,7 @@ impl__get_userCreatableItems (PortableServer_Servant servant,
list->_buffer[0].tooltip = _("Create a new contact");
list->_buffer[0].menuShortcut = 'c';
list->_buffer[0].iconName = "evolution-contacts-mini.png";
+ list->_buffer[0].type = GNOME_Evolution_CREATABLE_OBJECT;
list->_buffer[1].id = "contact_list";
list->_buffer[1].description = _("New Contact List");
@@ -560,13 +561,15 @@ impl__get_userCreatableItems (PortableServer_Servant servant,
list->_buffer[1].tooltip = _("Create a new contact list");
list->_buffer[1].menuShortcut = 'l';
list->_buffer[1].iconName = "contact-list-16.png";
+ list->_buffer[1].type = GNOME_Evolution_CREATABLE_OBJECT;
list->_buffer[2].id = "address_book";
- list->_buffer[2].description = _("New Addressbook Book");
- list->_buffer[2].menuDescription = _("_Address Book");
- list->_buffer[2].tooltip = _("Create a new address book");
- list->_buffer[2].menuShortcut = 'a';
+ list->_buffer[2].description = _("New Contacts Group");
+ list->_buffer[2].menuDescription = _("_Contacts Group");
+ list->_buffer[2].tooltip = _("Create a new contacts group");
+ list->_buffer[2].menuShortcut = 'g';
list->_buffer[2].iconName = "evolution-contacts-mini.png";
+ list->_buffer[2].type = GNOME_Evolution_CREATABLE_FOLDER;
return list;
}