summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/rotateable.cpp
diff options
context:
space:
mode:
authoreman-mod <>2017-04-15 11:47:50 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2017-04-15 11:47:50 +0000
commite8547384a2ef4b29dd51e95435ec7f2166dae340 (patch)
tree32c9f8fb447a9923da040d4e266017ed9c7f13d1 /src/ui/widget/rotateable.cpp
parentEllipses in Inkscape are defined by the center and the radius, but the (diff)
downloadinkscape-e8547384a2ef4b29dd51e95435ec7f2166dae340.tar.gz
inkscape-e8547384a2ef4b29dd51e95435ec7f2166dae340.zip
fix scrolling on style indicator in statusbar for gtk3
Fixed bugs: - https://launchpad.net/bugs/1672384 (bzr r15621)
Diffstat (limited to 'src/ui/widget/rotateable.cpp')
-rw-r--r--src/ui/widget/rotateable.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/widget/rotateable.cpp b/src/ui/widget/rotateable.cpp
index e0de22335..0e290730d 100644
--- a/src/ui/widget/rotateable.cpp
+++ b/src/ui/widget/rotateable.cpp
@@ -34,6 +34,7 @@ Rotateable::Rotateable():
signal_button_press_event().connect(sigc::mem_fun(*this, &Rotateable::on_click));
signal_motion_notify_event().connect(sigc::mem_fun(*this, &Rotateable::on_motion));
signal_button_release_event().connect(sigc::mem_fun(*this, &Rotateable::on_release));
+ gtk_widget_add_events(GTK_WIDGET(gobj()), GDK_SCROLL_MASK);
signal_scroll_event().connect(sigc::mem_fun(*this, &Rotateable::on_scroll));
}