Commit 19152b85 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

app/actions/edit-actions.c app/menus/menus.c app/widgets/gimpundoeditor.c

2005-09-05  Sven Neumann  <sven@gimp.org>

	* app/actions/edit-actions.c
	* app/menus/menus.c
	* app/widgets/gimpundoeditor.c
	* menus/Makefile.am
	* menus/undo-editor-menu.xml: added menu for undo editor.
parent dc65f101
2005-09-05 Sven Neumann <sven@gimp.org>
* app/actions/edit-actions.c
* app/menus/menus.c
* app/widgets/gimpundoeditor.c
* menus/Makefile.am
* menus/undo-editor-menu.xml: added menu for undo editor.
2005-09-05 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/edit.pdb: applied patch from David Gowers which
......
......@@ -60,6 +60,9 @@ static GimpActionEntry edit_actions[] =
{
{ "edit-menu", NULL, N_("_Edit") },
{ "edit-buffer-menu", NULL, N_("_Buffer") },
{ "undo-editor-popup",
GTK_STOCK_UNDO, N_("Undo Editor Menu"), NULL, NULL, NULL,
GIMP_HELP_UNDO_DIALOG },
{ "edit-undo", GTK_STOCK_UNDO,
N_("_Undo"), "<control>Z",
......
......@@ -285,6 +285,8 @@ menus_init (Gimp *gimp,
gimp_menu_factory_manager_register (global_menu_factory, "<UndoEditor>",
"edit",
NULL,
"/undo-editor-popup",
"undo-editor-menu.xml", NULL,
NULL);
gimp_menu_factory_manager_register (global_menu_factory, "<ErrorConsole>",
......
......@@ -232,6 +232,7 @@ gimp_undo_editor_new (GimpCoreConfig *config,
return g_object_new (GIMP_TYPE_UNDO_EDITOR,
"menu-factory", menu_factory,
"menu-identifier", "<UndoEditor>",
"ui-path", "/undo-editor-popup",
"preview-size", config->undo_preview_size,
NULL);
}
......
......@@ -33,6 +33,7 @@ menudata_DATA = \
text-editor-toolbar.xml \
tool-options-menu.xml \
tools-menu.xml \
undo-editor-menu.xml \
vectors-menu.xml
EXTRA_DIST = \
......
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE ui SYSTEM "gtkuimanager.dtd">
<ui>
<popup action="undo-editor-popup">
<menuitem action="edit-undo" />
<menuitem action="edit-redo" />
<menuitem action="edit-undo-clear" />
</popup>
</ui>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE ui SYSTEM "gtkuimanager.dtd">
<ui>
<popup action="undo-editor-popup">
<menuitem action="edit-undo" />
<menuitem action="edit-redo" />
<menuitem action="edit-undo-clear" />
</popup>
</ui>
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