[gnome-control-center] mouse: make the scale cursors point to the bottom to match the mockups



commit 40b769bd082201967aea46c79c5679d835051bc6
Author: Felipe Borges <feborges redhat com>
Date:   Tue Oct 27 15:55:43 2015 +0100

    mouse: make the scale cursors point to the bottom to match the mockups
    
    https://wiki.gnome.org/Design/SystemSettings/Mouse#Tentative_Design
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756863

 panels/mouse/gnome-mouse-properties.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/mouse/gnome-mouse-properties.c b/panels/mouse/gnome-mouse-properties.c
index 1b3a4fb..5030055 100644
--- a/panels/mouse/gnome-mouse-properties.c
+++ b/panels/mouse/gnome-mouse-properties.c
@@ -225,7 +225,7 @@ setup_dialog (CcMousePropertiesPrivate *d)
        gtk_widget_set_visible (WID ("mouse-frame"), d->have_mouse);
 
        gtk_scale_add_mark (GTK_SCALE (WID ("mouse-speed-scale")), 0,
-                           GTK_POS_TOP, NULL);
+                           GTK_POS_BOTTOM, NULL);
        g_settings_bind (d->mouse_settings, "speed",
                         gtk_range_get_adjustment (GTK_RANGE (WID ("mouse-speed-scale"))), "value",
                         G_SETTINGS_BIND_DEFAULT);
@@ -255,7 +255,7 @@ setup_dialog (CcMousePropertiesPrivate *d)
                          G_SETTINGS_BIND_DEFAULT);
 
        gtk_scale_add_mark (GTK_SCALE (WID ("touchpad-speed-scale")), 0,
-                           GTK_POS_TOP, NULL);
+                           GTK_POS_BOTTOM, NULL);
        g_settings_bind (d->touchpad_settings, "speed",
                         gtk_range_get_adjustment (GTK_RANGE (WID ("touchpad-speed-scale"))), "value",
                         G_SETTINGS_BIND_DEFAULT);


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