[gnome-control-center] power: Update idle-dim setting for g-s-d changes



commit e959951c7d22cbb81c1abc69c5648d3f92b563f8
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jan 16 19:43:22 2013 +0100

    power: Update idle-dim setting for g-s-d changes

 panels/power/cc-power-panel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c
index 4aa1e0e..a43cd22 100644
--- a/panels/power/cc-power-panel.c
+++ b/panels/power/cc-power-panel.c
@@ -1358,7 +1358,7 @@ add_power_saving_section (CcPowerPanel *self)
   gtk_box_pack_start (GTK_BOX (priv->dim_screen_row), label, TRUE, TRUE, 0);
 
   sw = gtk_switch_new ();
-  g_settings_bind (priv->gsd_settings, "idle-dim-battery",
+  g_settings_bind (priv->gsd_settings, "idle-dim",
                    sw, "active",
                    G_SETTINGS_BIND_DEFAULT);
   gtk_widget_set_margin_left (sw, 20);



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