[gnome-settings-daemon] mouse: Fix scroll methods settings for multiple devices



commit 73f70e19c2315fb1d6db3bfec52613c20c2ab0b8
Author: Ondrej Holy <oholy redhat com>
Date:   Wed Apr 15 14:37:39 2015 +0200

    mouse: Fix scroll methods settings for multiple devices
    
    GSettings value is changed to edge scroll currently if two-finger scroll
    isn't supported. Edge scroll should be enabled for the device without
    two-finger support, but the stored configuration value shouldn't be
    changed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745601

 plugins/mouse/gsd-mouse-manager.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/plugins/mouse/gsd-mouse-manager.c b/plugins/mouse/gsd-mouse-manager.c
index 6862443..c8d4284 100644
--- a/plugins/mouse/gsd-mouse-manager.c
+++ b/plugins/mouse/gsd-mouse-manager.c
@@ -760,7 +760,6 @@ set_scroll_method (GsdMouseManager         *manager,
                 if (!(data[3]) && method == GSD_TOUCHPAD_SCROLL_METHOD_TWO_FINGER_SCROLLING) {
                         g_warning ("Two finger scroll is not supported by %s", gdk_device_get_name (device));
                         method = GSD_TOUCHPAD_SCROLL_METHOD_EDGE_SCROLLING;
-                        g_settings_set_enum (manager->priv->touchpad_settings, KEY_SCROLL_METHOD, method);
                 }
 
                 XFree (data);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]