[gnome-control-center] mouse: Remove default value marks on scales
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] mouse: Remove default value marks on scales
- Date: Wed, 28 Oct 2015 14:39:44 +0000 (UTC)
commit 3d954159653f41e038289b3848a71601323d1f14
Author: Bastien Nocera <hadess hadess net>
Date: Wed Oct 28 13:35:18 2015 +0100
mouse: Remove default value marks on scales
They weren't that helpful.
https://bugzilla.gnome.org/show_bug.cgi?id=756863
panels/mouse/gnome-mouse-properties.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/panels/mouse/gnome-mouse-properties.c b/panels/mouse/gnome-mouse-properties.c
index 4ee2788..2311039 100644
--- a/panels/mouse/gnome-mouse-properties.c
+++ b/panels/mouse/gnome-mouse-properties.c
@@ -224,8 +224,6 @@ setup_dialog (CcMousePropertiesPrivate *d)
/* Mouse section */
gtk_widget_set_visible (WID ("mouse-frame"), d->have_mouse);
- gtk_scale_add_mark (GTK_SCALE (WID ("mouse-speed-scale")), 0,
- 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);
@@ -254,8 +252,6 @@ setup_dialog (CcMousePropertiesPrivate *d)
WID ("touchpad-natural-scrolling-switch"), "active",
G_SETTINGS_BIND_DEFAULT);
- gtk_scale_add_mark (GTK_SCALE (WID ("touchpad-speed-scale")), 0,
- 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]