switched meaning of Ctrl and Shift modifiers used with the mouse scroll

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

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_canvas_tool_events): switched meaning of Ctrl
	and Shift modifiers used with the mouse scroll wheel. The HIG
	suggests to use Ctrl for zooming and it makes GIMP more consistent
	with other apps (for example Inkscape).
This commit is contained in:
Sven Neumann 2005-02-05 20:49:28 +00:00 committed by Sven Neumann
parent 692669f4d8
commit c3bb11def3
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2005-02-05 Sven Neumann <sven@gimp.org>
* app/display/gimpdisplayshell-callbacks.c
(gimp_display_shell_canvas_tool_events): switched meaning of Ctrl
and Shift modifiers used with the mouse scroll wheel. The HIG
suggests to use Ctrl for zooming and it makes GIMP more consistent
with other apps (for example Inkscape).
2005-02-05 Sven Neumann <sven@gimp.org>
* libgimpconfig/gimpconfig-params.h: renamed GIMP_PARAM_ #defines

View File

@ -858,7 +858,7 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas,
direction = sevent->direction;
if (state & GDK_SHIFT_MASK)
if (state & GDK_CONTROL_MASK)
{
switch (direction)
{
@ -879,7 +879,7 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas,
GtkAdjustment *adj = NULL;
gdouble value;
if (state & GDK_CONTROL_MASK)
if (state & GDK_SHIFT_MASK)
switch (direction)
{
case GDK_SCROLL_UP: direction = GDK_SCROLL_LEFT; break;