added placeholder File/Preferences and move the preferences and keyboard

2007-09-23  Michael Natterer  <mitch@gimp.org>

	* menus/toolbox-menu.xml.in: added placeholder File/Preferences
	and move the preferences and keyboard shortcut dialogs there.

	* plug-ins/common/uniteditor.c (query): register the unit editor
	there too.


svn path=/trunk/; revision=23629
This commit is contained in:
Michael Natterer 2007-09-23 17:23:06 +00:00 committed by Michael Natterer
parent 83968989c0
commit 2fbe082762
3 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2007-09-23 Michael Natterer <mitch@gimp.org>
* menus/toolbox-menu.xml.in: added placeholder File/Preferences
and move the preferences and keyboard shortcut dialogs there.
* plug-ins/common/uniteditor.c (query): register the unit editor
there too.
2007-09-23 Sven Neumann <sven@gimp.org>
* plug-ins/common/pcx.c: avoid pointer arithmetics on void pointers.

View File

@ -21,7 +21,10 @@
<menuitem action="edit-paste-as-new" />
</menu>
<separator />
<placeholder name="Preferences">
<menuitem action="dialogs-preferences" />
<menuitem action="dialogs-keyboard-shortcuts" />
</placeholder>
<menu action="dialogs-menu" name="Dialogs">
<menu action="dialogs-new-dock-menu" name="Create New Dock">
<menuitem action="dialogs-new-dock-lcp" />

View File

@ -153,6 +153,7 @@ query (void)
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register (PLUG_IN_PROC, "<Toolbox>/File/Preferences");
gimp_plugin_menu_register (PLUG_IN_PROC, "<Image>/Edit/Preferences");
gimp_plugin_icon_register (PLUG_IN_PROC, GIMP_ICON_TYPE_STOCK_ID,
(const guint8 *) GIMP_STOCK_TOOL_MEASURE);