[Sugar-devel] [PATCH sugar-toolkit-gtk3] Sugar scroll bar clicks should invoke page up/page down SL #3859
Gonzalo Odiard
gonzalo at laptop.org
Fri Nov 2 15:22:20 EDT 2012
Good catch.
Probably we will need in sugar-session too, to solve the same issue in the
journal.
Gonzalo
On Fri, Nov 2, 2012 at 4:12 PM, Manuel Kaufmann <humitos at gmail.com> wrote:
> 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
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20121102/3f0462bb/attachment.html>
More information about the Sugar-devel
mailing list