Commit 3aa63a43 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

Start getting rid of the "Xtns" menu:

2008-04-08  Michael Natterer  <mitch@gimp.org>

	Start getting rid of the "Xtns" menu:

	* app/actions/dialogs-actions.c (dialogs_toplevel_actions):
	renamed "Module Manager" to "Modules".

	* menus/image-menu.xml.in: move it to "Edit/Preferences" for the
	time being so it doesn't block the removal of the "Xtns" menu.

	Move "Languages" placeholder from "Xtns" to "Filters".

	* app/plug-in/plug-in-menu-path.c (menu_path_mappings): map
	"Xtns/Languages" to "Filters/Languages".


svn path=/trunk/; revision=25414
parent d1e4d9ff
2008-04-08 Michael Natterer <mitch@gimp.org>
Start getting rid of the "Xtns" menu:
* app/actions/dialogs-actions.c (dialogs_toplevel_actions):
renamed "Module Manager" to "Modules".
* menus/image-menu.xml.in: move it to "Edit/Preferences" for the
time being so it doesn't block the removal of the "Xtns" menu.
Move "Languages" placeholder from "Xtns" to "Filters".
* app/plug-in/plug-in-menu-path.c (menu_path_mappings): map
"Xtns/Languages" to "Filters/Languages".
2008-04-08 Sven Neumann <sven@gimp.org>
* plug-ins/common/mng.c (myalloc): removed a redundant (and wrong)
......
......@@ -227,7 +227,7 @@ static const GimpStringActionEntry dialogs_toplevel_actions[] =
GIMP_HELP_KEYBOARD_SHORTCUTS },
{ "dialogs-module-dialog", GTK_STOCK_EXECUTE,
N_("_Module Manager"), NULL,
N_("_Modules"), NULL,
N_("Open the module manager dialog"),
"gimp-module-dialog",
GIMP_HELP_MODULE_DIALOG },
......
......@@ -40,9 +40,10 @@ struct _MenuPathMapping
static const MenuPathMapping menu_path_mappings[] =
{
{ "<Toolbox>/Xtns", "<Image>/Xtns" },
{ "<Toolbox>/Help", "<Image>/Help" },
{ NULL, NULL }
{ "<Toolbox>/Xtns/Languages", "<Image>/Filters/Languages" },
{ "<Toolbox>/Xtns", "<Image>/Xtns" },
{ "<Toolbox>/Help", "<Image>/Help" },
{ NULL, NULL }
};
......
......@@ -199,6 +199,7 @@
<placeholder name="Preferences">
<menuitem action="dialogs-preferences" />
<menuitem action="dialogs-keyboard-shortcuts" />
<menuitem action="dialogs-module-dialog"/>
</placeholder>
<separator />
</menu>
......@@ -571,6 +572,8 @@
</menu>
<menuitem action="plug-in-reset-all" />
<separator />
<placeholder name="Languages" />
<separator />
<menu action="plug-in-blur-menu" name="Blur" />
<menu action="plug-in-enhance-menu" name="Enhance" />
<menu action="plug-in-distorts-menu" name="Distorts" />
......@@ -605,10 +608,7 @@
<placeholder name="Menus" />
<menu action="extensions-menu" name="Xtns">
<placeholder name="Extensions">
<menuitem action="dialogs-module-dialog"/>
</placeholder>
<placeholder name="Languages"/>
<placeholder name="Extensions" />
<separator/>
</menu>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment