evince r2826 - in trunk: . shell
- From: nshmyrev svn gnome org
- To: svn-commits-list gnome org
- Subject: evince r2826 - in trunk: . shell
- Date: Mon, 14 Jan 2008 22:31:40 +0000 (GMT)
Author: nshmyrev
Date: Mon Jan 14 22:31:40 2008
New Revision: 2826
URL: http://svn.gnome.org/viewvc/evince?rev=2826&view=rev
Log:
2008-01-15 Nickolay V. Shmyrev <nshmyrev yandex ru>
* shell/ev-view.c: (ev_view_scroll_event):
Repair gorizontal scrolling with shift. Fixes
bug #483412.
Modified:
trunk/ChangeLog
trunk/shell/ev-view.c
Modified: trunk/shell/ev-view.c
==============================================================================
--- trunk/shell/ev-view.c (original)
+++ trunk/shell/ev-view.c Mon Jan 14 22:31:40 2008
@@ -2385,15 +2385,16 @@
}
view->jump_to_find_result = FALSE;
+
/* Shift+Wheel scrolls the in the perpendicular direction */
if (state & GDK_SHIFT_MASK) {
if (event->direction == GDK_SCROLL_UP)
event->direction = GDK_SCROLL_LEFT;
- if (event->direction == GDK_SCROLL_LEFT)
+ else if (event->direction == GDK_SCROLL_LEFT)
event->direction = GDK_SCROLL_UP;
- if (event->direction == GDK_SCROLL_DOWN)
+ else if (event->direction == GDK_SCROLL_DOWN)
event->direction = GDK_SCROLL_RIGHT;
- if (event->direction == GDK_SCROLL_RIGHT)
+ else if (event->direction == GDK_SCROLL_RIGHT)
event->direction = GDK_SCROLL_DOWN;
event->state &= ~GDK_SHIFT_MASK;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]