[gucharmap] charmap: Always show the scroll bar
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gucharmap] charmap: Always show the scroll bar
- Date: Mon, 25 Dec 2017 22:30:51 +0000 (UTC)
commit 12141c228859f87ac633dcf6be81844abd2e61a2
Author: Christian Persch <chpe src gnome org>
Date: Mon Dec 25 23:30:32 2017 +0100
charmap: Always show the scroll bar
Some change in gtk+ broke scrolling up with the scrollwheel (scrolling
down works just fine). Work around this by just always showing the scrollbar.
https://bugzilla.gnome.org/show_bug.cgi?id=791715
https://bugzilla.gnome.org/show_bug.cgi?id=791931
gucharmap/gucharmap-charmap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gucharmap/gucharmap-charmap.c b/gucharmap/gucharmap-charmap.c
index 2a31a04..e61c3cb 100644
--- a/gucharmap/gucharmap-charmap.c
+++ b/gucharmap/gucharmap-charmap.c
@@ -1259,7 +1259,7 @@ gucharmap_charmap_init (GucharmapCharmap *charmap)
/* Chartable page */
scrolled_window = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window),
- GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
+ GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_window),
GTK_SHADOW_NONE);
#if GTK_CHECK_VERSION (3, 15, 9)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]