[gnome-control-center] power: Disable "Screen Power Saving" section for now



commit 91f1d45db41d0861aff241c79f9d1ee5b42c8b8e
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Jan 4 15:32:29 2013 +0100

    power: Disable "Screen Power Saving" section for now

 panels/power/cc-power-panel.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c
index e52c8c2..01c5459 100644
--- a/panels/power/cc-power-panel.c
+++ b/panels/power/cc-power-panel.c
@@ -1332,6 +1332,9 @@ add_power_saving_section (CcPowerPanel *self)
   gtk_widget_set_margin_bottom (box2, 6);
   gtk_box_pack_start (GTK_BOX (box), box2, TRUE, TRUE, 0);
 
+  /* FIXME: Disabled until we figure out whether we want it implemented
+   * like this */
+#if 0
   label = gtk_label_new (_("Screen _Power Saving"));
   gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
   gtk_label_set_use_underline (GTK_LABEL (label), TRUE);
@@ -1354,6 +1357,7 @@ add_power_saving_section (CcPowerPanel *self)
   gtk_label_set_mnemonic_widget (GTK_LABEL (label), sw);
   gtk_container_add (GTK_CONTAINER (widget), box);
   gtk_size_group_add_widget (priv->row_sizegroup, box);
+#endif
 
 #ifdef HAVE_NETWORK_MANAGER
   priv->wifi_row = box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 50);



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