From: Nickolay V. Shmyrev Date: Sun, 24 Apr 2005 21:26:58 +0000 (+0000) Subject: Scroll up increase zoom X-Git-Tag: EVINCE_0_3_0~27 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=7ef9d5ee0ab5a82b7abeb49346aea722fa575abe;p=evince.git Scroll up increase zoom --- diff --git a/ChangeLog b/ChangeLog index 32b223ee..e1f6c2f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-04-25 Nickolay V. Shmyrev + + * shell/ev-view.c: (ev_view_scroll_event): + + Scroll up increase zoom + 2005-04-25 Nickolay V. Shmyrev * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init), diff --git a/shell/ev-view.c b/shell/ev-view.c index ef7d2996..98374dbe 100644 --- a/shell/ev-view.c +++ b/shell/ev-view.c @@ -662,7 +662,7 @@ ev_view_scroll_event (GtkWidget *widget, GdkEventScroll *event) ev_view_set_sizing_mode (view, EV_SIZING_FREE); - if ((event->direction == GDK_SCROLL_DOWN || + if ((event->direction == GDK_SCROLL_UP || event->direction == GDK_SCROLL_LEFT) && ev_view_can_zoom_in (view)) { ev_view_zoom_in (view);