[gnome-control-center] sound: set has-origin = FALSE for the balance bar scale
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] sound: set has-origin = FALSE for the balance bar scale
- Date: Tue, 22 Jan 2013 15:02:04 +0000 (UTC)
commit 0a083ca973330741a733403503edfe9da1af4efd
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Jan 21 16:04:07 2013 -0500
sound: set has-origin = FALSE for the balance bar scale
The scale here is used for Left<->Right, so it doesn't have an origin.
https://bugzilla.gnome.org/show_bug.cgi?id=692238
panels/sound/gvc-balance-bar.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/sound/gvc-balance-bar.c b/panels/sound/gvc-balance-bar.c
index 3ef6ff7..f47bfa7 100644
--- a/panels/sound/gvc-balance-bar.c
+++ b/panels/sound/gvc-balance-bar.c
@@ -91,6 +91,7 @@ _scale_box_new (GvcBalanceBar *bar)
bar->priv->scale_box = box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
priv->scale = gtk_scale_new (GTK_ORIENTATION_HORIZONTAL, priv->adjustment);
+ gtk_scale_set_has_origin (GTK_SCALE (priv->scale), FALSE);
gtk_widget_set_size_request (priv->scale, SCALE_SIZE, -1);
bar->priv->start_box = sbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]