[gimp] Issue 7128: Mouse wheel zoom when cursor is over the zoom scrolldown.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Issue 7128: Mouse wheel zoom when cursor is over the zoom scrolldown.
- Date: Tue, 10 Aug 2021 13:04:00 +0000 (UTC)
commit dd03716fae198cfae1bb17dd28ddb5da8c86b198
Author: Massimo Valentini <mvalentini335 gmail com>
Date: Tue Aug 10 15:01:14 2021 +0200
Issue 7128: Mouse wheel zoom when cursor is over the zoom scrolldown.
app/display/gimpscalecombobox.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/app/display/gimpscalecombobox.c b/app/display/gimpscalecombobox.c
index c9525267b3..efb28a478c 100644
--- a/app/display/gimpscalecombobox.c
+++ b/app/display/gimpscalecombobox.c
@@ -126,6 +126,8 @@ gimp_scale_combo_box_constructed (GObject *object)
entry = gtk_bin_get_child (GTK_BIN (combo_box));
+ gtk_widget_add_events (GTK_WIDGET (entry), GDK_SCROLL_MASK);
+
g_object_set (entry,
"xalign", 1.0,
"width-chars", 5,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]