summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-11-02 17:39:50 +0300
committermonsta <[email protected]>2017-11-02 17:39:50 +0300
commit836a987ba4612f95571b51d61c851ca1eefb4118 (patch)
tree2ecee3ad4f2d5ef1224006c998f2e56753105be1
parentd0429e31320aa70661af3408171fcd4781c33f34 (diff)
downloadcaja-836a987ba4612f95571b51d61c851ca1eefb4118.tar.bz2
caja-836a987ba4612f95571b51d61c851ca1eefb4118.tar.xz
zoom-control: change zoom with mousewheel scroll over button
like it was with GTK+2
-rw-r--r--src/caja-zoom-control.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/caja-zoom-control.c b/src/caja-zoom-control.c
index c0d5da20..8f8ffdd6 100644
--- a/src/caja-zoom-control.c
+++ b/src/caja-zoom-control.c
@@ -357,7 +357,8 @@ caja_zoom_control_init (CajaZoomControl *zoom_control)
gtk_widget_add_events (GTK_WIDGET (zoom_control->details->zoom_button),
GDK_BUTTON_PRESS_MASK
| GDK_BUTTON_RELEASE_MASK
- | GDK_POINTER_MOTION_MASK);
+ | GDK_POINTER_MOTION_MASK
+ | GDK_SCROLL_MASK);
g_signal_connect (G_OBJECT (zoom_control->details->zoom_button),
"button-press-event",