aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-popup.c
Commit message (Collapse)AuthorAgeFilesLines
* ** Fixes bug #419524Matthew Barnes2007-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #419524 * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>. * e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list): * mail/em-migrate.c (emm_setup_initial): * shell/e-component-registry.c (query_components): * shell/e-shell-settings-dialog.c (load_pages): * shell/e-shell-window-commands.c (command_quick_reference): * tools/killev.c (main): Use g_get_language_names() instead of gnome_i18n_get_language_list(). * e-util/e-util.c: Remove e_gettext(). * e-util/Makefile.am: Remove e-i18n.h. svn path=/trunk/; revision=33319
* Use guint for 1-bit bitfield. Remove unused var Remove unused vars RenameKjartan Maraas2006-02-081-0/+1
| | | | | | | | | | | | | | | | | 2006-02-08 Kjartan Maraas <kmaraas@gnome.org> * e-config.c: Use guint for 1-bit bitfield. * e-icon-factory.c: (load_icon): Remove unused var * e-import.c: (ep_init), (ep_finalise): Remove unused vars * e-plugin.c: (e_plugin_register_type): Rename a var * e-plugin.h: guint for 1-bit bitfield * e-popup.c: (ep_finalise): Add comment. * e-profile-event.c: Remove unused prototype * e-text-event-processor-emacs-like.c: (e_text_event_processor_emacs_like_event): Add comment about a compiler warning from the Intel compiler. svn path=/trunk/; revision=31446
* 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