From 084a2d2e3d39e7b25a6101f125a37bb05b9caf81 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Fri, 15 Oct 2004 07:36:53 +0000 Subject: added an any select mask and updated the hook maps. 2004-10-15 Not Zed * gui/widgets/eab-popup.c: added an any select mask and updated the hook maps. * gui/component/addressbook-component.c (addressbook_component_init): register the addressbook hooks. * gui/component/addressbook-view.c (addressbook_view_init): setup the menu manager. (control_activate_cb): activate the menu manager. (update_command_state): and update the menu manager. * gui/widgets/eab-menu.[ch]: Added menu manager class. svn path=/trunk/; revision=27589 --- addressbook/gui/widgets/eab-popup.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'addressbook/gui/widgets/eab-popup.h') diff --git a/addressbook/gui/widgets/eab-popup.h b/addressbook/gui/widgets/eab-popup.h index 39df885de5..7fec4cc742 100644 --- a/addressbook/gui/widgets/eab-popup.h +++ b/addressbook/gui/widgets/eab-popup.h @@ -52,15 +52,17 @@ enum _eab_popup_target_t { * enum _eab_popup_target_select_t - EABPopupTargetSelect qualifiers. * * @EAB_POPUP_SELECT_ONE: Only one item is selected. - * @EAB_POPUP_SELECT_MANY: One ore more items are selected. + * @EAB_POPUP_SELECT_MANY: Two or more items are selected. + * @EAB_POPUP_SELECT_ANY: One or more items are selected. * @EAB_POPUP_SELECT_EDITABLE: Read/writable source. * @EAB_POPUP_SELECT_EMAIL: Has an email address. **/ enum _eab_popup_target_select_t { EAB_POPUP_SELECT_ONE = 1<<0, EAB_POPUP_SELECT_MANY = 1<<1, - EAB_POPUP_SELECT_EDITABLE = 1<<2, - EAB_POPUP_SELECT_EMAIL = 1<<3, + EAB_POPUP_SELECT_ANY = 1<<2, + EAB_POPUP_SELECT_EDITABLE = 1<<3, + EAB_POPUP_SELECT_EMAIL = 1<<4, }; /** -- cgit v1.2.3