aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-popup.c
Commit message (Collapse)AuthorAgeFilesLines
* if we have a factory method supplied, call that as well. More flexibleNot Zed2005-05-131-2/+9
| | | | | | | | | | 2005-05-13 Not Zed <NotZed@Ximian.com> * e-popup.c (emph_popup_factory): if we have a factory method supplied, call that as well. More flexible popup building. (emph_construct_menu): load factory def. svn path=/trunk/; revision=29352
* completely rewritten. Simpler and more robust.Not Zed2005-02-191-83/+169
| | | | | | | | | | | | | | | 2005-02-17 Not Zed <NotZed@Ximian.com> * e-popup.c (ep_prune_tree, ep_build_tree, e_popup_create_menu): completely rewritten. Simpler and more robust. 2005-02-16 Not Zed <NotZed@Ximian.com> * e-popup.c (e_popup_create_menu): do the visibility mask test before sorting. don't perform it on bar's or submenu's anymore, calculate when not to show/create them. svn path=/trunk/; revision=28813
* Don't let the 'id' field, which identifies the target menu/whatever, to beNot Zed2005-02-071-0/+5
| | | | | | | | | | | | 2005-02-07 Not Zed <NotZed@Ximian.com> * e-popup.c (emph_construct_menu): * e-menu.c (emph_construct_menu): * e-config.c (emph_construct_menu): Don't let the 'id' field, which identifies the target menu/whatever, to be NULL, otherwise it gets added to all. svn path=/trunk/; revision=28728
* include config.h.Not Zed2004-12-221-3/+8
| | | | | | | | | | | | | | | | | | 2004-12-22 Not Zed <NotZed@Ximian.com> * e-plugin.c: include config.h. 2004-12-17 Not Zed <NotZed@Ximian.com> * e-popup.c (e_popup_add_items): add a translation domain to api. (e_popup_create_menu): translate the label using the supplied domain. (emph_popup_factory): pass domain to popup_add_items. * e-plugin.c (ep_construct): if we have a localedir set, then bindtextdomain so gettext can find it. svn path=/trunk/; revision=28175
* get the image directly from the icon factoryJP Rosevear2004-11-261-13/+12
| | | | | | | | | | | | | | | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * e-gui-utils.c (e_create_image_widget): get the image directly from the icon factory * e-config.c: insert debug defines so we can turn spew on and off * e-event.c: insert debug defines so we can turn spew on and off * e-menu.c: insert debug defines so we can turn spew on and off * e-plugin.c: insert debug defines and set to off for now * e-popup.c: insert debug defines so we can turn spew on and off (e_popup_create_menu): get the image directly from the icon factory svn path=/trunk/; revision=27997
* convert to org.gnome hook namesJP Rosevear2004-10-201-4/+4
| | | | | | | | | 2004-10-19 JP Rosevear <jpr@novell.com> * e-config.c, e-event.c, e-menu.c, e-plugin.c, e-plugin.h, e-popup.c: convert to org.gnome hook names svn path=/trunk/; revision=27633
* new method to create a targetless popup menu.Not Zed2004-10-121-0/+19
| | | | | | | | | 2004-10-12 Not Zed <NotZed@Ximian.com> * e-popup.c (e_popup_new): new method to create a targetless popup menu. svn path=/trunk/; revision=27545
* only take one mask parameter, and implement EPopupItem->enable to do whatNot Zed2004-10-071-17/+39
| | | | | | | | | | | | | 2004-10-06 Not Zed <NotZed@Ximian.com> * e-popup.c (e_popup_create_menu): only take one mask parameter, and implement EPopupItem->enable to do what the other mask did. (ep_activate): if this is a toggle or radiobutton, set the active state on the item->type. (e_popup_create_menu): if a menu image starts with gtk-, then assume it is a gtk stock image instead. svn path=/trunk/; revision=27485
* Merged notzed-eplugin-2-branch to head.Michael Zucci2004-09-201-0/+799
svn path=/trunk/; revision=27300