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
This commit is contained in:
Michael Natterer 2008-04-08 18:18:59 +00:00 committed by Michael Natterer
parent d1e4d9ffa4
commit 3aa63a431f
4 changed files with 24 additions and 8 deletions

View File

@ -1,3 +1,18 @@
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)

View File

@ -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 },

View File

@ -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 }
};

View File

@ -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>