added placeholder Edit/Preferences and move the preferences and keyboard

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

	* menus/image-menu.xml.in: added placeholder Edit/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=23594
This commit is contained in:
Michael Natterer 2007-09-20 11:39:32 +00:00 committed by Michael Natterer
parent 2fa523c36b
commit e2fcc1fc6e
3 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2007-09-20 Michael Natterer <mitch@gimp.org>
* menus/image-menu.xml.in: added placeholder Edit/Preferences and
move the preferences and keyboard shortcut dialogs there.
* plug-ins/common/uniteditor.c (query): register the unit editor
there too.
2007-09-19 Sven Neumann <sven@gimp.org>
* app/base/gimphistogram.c: weight pixels by their alpha value

View File

@ -187,8 +187,10 @@
<menuitem action="vectors-stroke" />
</placeholder>
<separator />
<placeholder name="Preferences">
<menuitem action="dialogs-preferences" />
<menuitem action="dialogs-keyboard-shortcuts" />
</placeholder>
<separator />
</menu>

View File

@ -147,13 +147,13 @@ query (void)
"Michael Natterer <mitch@gimp.org>",
"Michael Natterer <mitch@gimp.org>",
"2000",
N_("_Unit Editor"),
N_("U_nits"),
"",
GIMP_PLUGIN,
G_N_ELEMENTS (args), 0,
args, NULL);
gimp_plugin_menu_register (PLUG_IN_PROC, "<Toolbox>/Xtns/Extensions");
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);
}