[gnome-control-center/gnome-3-8] mouse: remove unnecessary acceleration value setting



commit f21f6017df17af99059bacb305bb946ecf3cc91c
Author: Ondrej Holy <oholy redhat com>
Date:   Thu Sep 26 17:35:00 2013 +0200

    mouse: remove unnecessary acceleration value setting
    
    The acceleration value is set twice, because binding already exists.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=708241

 panels/mouse/gnome-mouse-properties.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/panels/mouse/gnome-mouse-properties.c b/panels/mouse/gnome-mouse-properties.c
index b04b37c..7d75058 100644
--- a/panels/mouse/gnome-mouse-properties.c
+++ b/panels/mouse/gnome-mouse-properties.c
@@ -146,8 +146,6 @@ pointer_speed_scale_event (GtkRange *scale, GtkBuilder *dialog)
        else
                settings = touchpad_settings;
 
-       g_settings_set_double (settings, "motion-acceleration", gtk_range_get_value (scale));
-
        adjustment = gtk_range_get_adjustment (scale);
        value = gtk_adjustment_get_upper (adjustment) - gtk_range_get_value (scale) + 1;
        g_settings_set_int (settings, "motion-threshold", value);


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