diff options
author | monsta <[email protected]> | 2017-11-02 17:39:50 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2017-11-04 14:50:05 +0300 |
commit | 4e22e482dbbf62ca5527fa808dc7c2eb86b117be (patch) | |
tree | 74fe17c044667b669ab907b05d7b7f417c66e08c | |
parent | 38c2adfad1bba14a2b16f51bbd8de3d252877e10 (diff) | |
download | caja-4e22e482dbbf62ca5527fa808dc7c2eb86b117be.tar.bz2 caja-4e22e482dbbf62ca5527fa808dc7c2eb86b117be.tar.xz |
zoom-control: change zoom with mousewheel scroll over button
like it was with GTK+2
-rw-r--r-- | src/caja-zoom-control.c | 3 |
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", |