aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-menu.c
Commit message (Collapse)AuthorAgeFilesLines
* Clean up compiler warnings in e-util directory (#438467).Matthew Barnes2007-06-031-6/+6
| | | | 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
* fixes a build break.Chenthill Palanisamy2006-01-111-1/+1
| | | | svn path=/trunk/; revision=31131
* e-plugin.c (epl_construct) [Win32] The interface ofTor Lillqvist2006-01-051-2/+4
| | | | | | | | | | 2006-01-05 Tor Lillqvist <tml@novell.com> * e-plugin.c (epl_construct) * e-menu.c (emph_construct_menu): [Win32] The interface of e_util_replace_prefix() changed a bit. svn path=/trunk/; revision=31053
* Don't eventually free a return value from xmlGetProp() with g_free().Tor Lillqvist2006-01-021-5/+15
| | | | | | | | | | | | | 2006-01-02 Tor Lillqvist <tml@novell.com> * e-menu.c (emph_construct_menu): Don't eventually free a return value from xmlGetProp() with g_free(). g_strdup() it first, and xmlFree() what xmlGetProp() returned. On Win32, replace a configure-time prefix of the ui file with the run-time one. svn path=/trunk/; revision=31021
* Use g_get_tmp_dir() instead of hardcoding /tmp.Tor Lillqvist2005-11-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-26 Tor Lillqvist <tml@novell.com> * e-menu.c (emph_construct_menu): Use g_get_tmp_dir() instead of hardcoding /tmp. * e-util.c (e_strstrcase): Use g_ascii_strncasecmp() instead of the deprecated g_strncasecmp(). What kinds of strings this function is supposed to be used on (UTF-8 or some random single- or multi-byte encoding) is anybody's guess. This function isn't used in Evolution and should probably go away, though. And this is one of the files that have a partially duplicated copy in e-d-s/libedataserver, too, so doubly so. (e_filename_make_safe): Mark more bytes as unsafe on Win32. Add comments. This function is really under-specified and weird, one wonders whether it really does what the author thought it should do. (fsync): Add Win32 implementation of fsync(). * e-xml-utils.c (e_xml_get_bool_prop_by_name_with_default): Use g_ascii_strcasecmp() instead of the deprecated g_strcasecmp(), especially as we are comparing to literal ASCII strings. svn path=/trunk/; revision=30684
* Remove/disable debug.Not Zed2005-03-041-2/+2
| | | | | | | | 2005-03-01 Not Zed <NotZed@Ximian.com> * *.c: Remove/disable debug. svn path=/trunk/; revision=28948
* If the plug-in is not enabled, do nothingRodney Dawes2005-02-141-0/+3
| | | | | | | | 2005-02-14 Rodney Dawes <dobey@novell.com> * e-menu.c (emph_construct): If the plug-in is not enabled, do nothing svn path=/trunk/; revision=28787
* 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
* get the image directly from the icon factoryJP Rosevear2004-11-261-23/+24
| | | | | | | | | | | | | | | | | | | | | | 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-5/+5
| | | | | | | | | 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
* show the toplevel notebook if we had to create one, always.Not Zed2004-10-071-2/+2
| | | | | | | | | | | | | | | | | | 2004-10-07 Not Zed <NotZed@Ximian.com> * e-config.c (ec_rebuild): show the toplevel notebook if we had to create one, always. * e-menu.c (e_menu_add_items): initialise node->menu properly. * e-plugin.c (ep_load): read/initialise a unique id for all plugins and track them in a hashtable. (ep_construct): refactor so we have more control over what happens. if the hook handling class isn't registered yet, just note it and keep going. (e_plugin_hook_new): remove this, its handled internally by above. svn path=/trunk/; revision=27490
* Merged notzed-eplugin-2-branch to head.Michael Zucci2004-09-201-0/+901
svn path=/trunk/; revision=27300