aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-popup.c
Commit message (Collapse)AuthorAgeFilesLines
* ** Fix for bug #211353Milan Crha2007-12-171-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-12-14 Milan Crha <mcrha@redhat.com> ** Fix for bug #211353 * message-list.etspec: * message-list.h: * message-list.c: Added new column to show labels. * filtertypes.xml: * vfoldertypes.xml: Code for label filters/search folders has been changed. * mail-config.glade: * em-folder-view.c: (emfv_set_label), (emfv_unset_label), (emfv_popup_label_clear), (emfv_popup_label_set), (emfv_popup_labels_get_state_for_tag), (emfv_popup): Labels popup submenu is now shown with checkboxes so one can set more than one label to the message and unset only one label from message. There has been added new function, because of this. * mail-config.h: * mail-config.c: New "interface" functions to work with labels. * em-mailer-prefs.h: * em-mailer-prefs.c: Editing labels in tree. * em-folder-browser.c: Labels in show menu reflect changes in preferences. 2007-12-14 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #211353 * filter-label.c: Use global label's setup, not its own copy. 2007-12-14 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #211353 * e-popup.h: * e-popup.c: (ep_build_tree): Toggles can be in inconsistent state now, and can also contain an image, which is a pointer to GtkImage widget. 2007-12-14 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #211353 * e-search-bar.c: (e_search_bar_get_viewitem_id): Return -1 if no viewmenu is setup yet. svn path=/trunk/; revision=34715
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-19/+19
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* ** Fix for bug #494320Ondrej Jirman2007-11-141-0/+6
| | | | | | | | | | | | 2007-11-13 Ondrej Jirman <megous@megous.com> ** Fix for bug #494320 * e-popup.c: (e_popup_create_menu): Add support for redefining existing menu items. svn path=/trunk/; revision=34530
* Warning fixes. - NULL vs 0 - ANSIfication of declarations - missingKjartan Maraas2007-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 2007-10-26 Kjartan Maraas <kmaraas@gnome.org> * e-config.c: * e-event.c: * e-gui-utils.c: * e-import.c: * e-menu.c: * e-mktemp.c: (get_dir): * e-popup.c: * e-profile-event.c: (e_profile_event_peek): * e-util.c: (get_font_options): * e-xml-utils.c: (e_xml_get_string_prop_by_name), (e_xml_get_string_prop_by_name_with_default), (e_xml_get_translated_string_prop_by_name): Warning fixes. - NULL vs 0 - ANSIfication of declarations - missing include svn path=/trunk/; revision=34428
* ** Fix for bug #471791 Srinivasa Ragavan2007-09-101-1/+4
| | | | svn path=/trunk/; revision=34214
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-1/+1
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* Clean up compiler warnings in e-util directory (#438467).Matthew Barnes2007-06-031-3/+3
| | | | svn path=/trunk/; revision=33623
* ** 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