added extra Zoom In/Out actions and bind them to the Add/Subtract keys on

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

	* app/actions/view-actions.c (view_zoom_actions):
	* menus/image-menu.xml.in: added extra Zoom In/Out actions and
	bind them to the Add/Subtract keys on the keypad (bug #316555).
This commit is contained in:
Sven Neumann 2005-09-18 14:11:06 +00:00 committed by Sven Neumann
parent 2fbe7a7873
commit 78901064b3
3 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2005-09-18 Sven Neumann <sven@gimp.org>
* app/actions/view-actions.c (view_zoom_actions):
* menus/image-menu.xml.in: added extra Zoom In/Out actions and
bind them to the Add/Subtract keys on the keypad (bug #316555).
2005-09-17 Michael Natterer <mitch@gimp.org>
We don't need two labels for "Toggle Quick Mask":

View File

@ -229,6 +229,18 @@ static GimpEnumActionEntry view_zoom_actions[] =
GIMP_ACTION_SELECT_NEXT, FALSE,
GIMP_HELP_VIEW_ZOOM_IN },
{ "view-zoom-out-accel", NULL,
N_("Zoom Out"), "KP_Subtract",
N_("Zoom out"),
GIMP_ACTION_SELECT_PREVIOUS, FALSE,
NULL },
{ "view-zoom-in-accel", NULL,
N_("Zoom in"), "KP_Add",
N_("Zoom in"),
GIMP_ACTION_SELECT_NEXT, FALSE,
NULL },
{ "view-zoom-out-skip", GTK_STOCK_ZOOM_OUT,
"Zoom out a lot", NULL, NULL,
GIMP_ACTION_SELECT_SKIP_PREVIOUS, FALSE,

View File

@ -558,4 +558,7 @@
</menubar-and-popup>
<accelerator action="view-zoom-in-accel"/>
<accelerator action="view-zoom-out-accel"/>
</ui>