summaryrefslogtreecommitdiff
path: root/src/caja-zoom-control.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-11-02 17:39:50 +0300
committermonsta <[email protected]>2017-11-04 14:50:05 +0300
commit4e22e482dbbf62ca5527fa808dc7c2eb86b117be (patch)
tree74fe17c044667b669ab907b05d7b7f417c66e08c /src/caja-zoom-control.c
parent38c2adfad1bba14a2b16f51bbd8de3d252877e10 (diff)
downloadcaja-4e22e482dbbf62ca5527fa808dc7c2eb86b117be.tar.bz2
caja-4e22e482dbbf62ca5527fa808dc7c2eb86b117be.tar.xz
zoom-control: change zoom with mousewheel scroll over button
like it was with GTK+2
Diffstat (limited to 'src/caja-zoom-control.c')
-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 24ac8fce..119d8bca 100644
--- a/src/caja-zoom-control.c
+++ b/src/caja-zoom-control.c
@@ -344,7 +344,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",