[Sugar-devel] [PATCH sugar-toolkit-gtk3] Sugar scroll bar clicks should invoke page up/page down SL #3859
Manuel Kaufmann
humitos at gmail.com
Fri Nov 2 15:12:09 EDT 2012
The default value of 'gtk-primary-button-warps-slider' in Gtk3 is
True[1] and in gtk2 is False[2]. So, this patch sets that property to False
to keep the same behaviour we have before.
[1] http://developer.gnome.org/gtk3/stable/GtkSettings.html#GtkSettings--gtk-primary-button-warps-slider
[2] http://developer.gnome.org/gtk/2.24/GtkSettings.html#GtkSettings--gtk-primary-button-warps-slider
Signed-off-by: Manuel Kaufmann <humitos at gmail.com>
---
src/sugar3/activity/activity.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/sugar3/activity/activity.py b/src/sugar3/activity/activity.py
index 3325f47..d799aee 100644
--- a/src/sugar3/activity/activity.py
+++ b/src/sugar3/activity/activity.py
@@ -271,6 +271,7 @@ class Activity(Window, Gtk.Container):
settings.set_property('gtk-icon-theme-name', 'sugar')
settings.set_property('gtk-font-name',
'%s %f' % (style.FONT_FACE, style.FONT_SIZE))
+ settings.set_property('gtk-primary-button-warps-slider', False)
Window.__init__(self)
--
1.7.11.7
More information about the Sugar-devel
mailing list