[gnome-control-center] screen: Keep 'show notifications' sensitive



commit 576d6ba04dc89406bd0e62ca7be23f05a9e2d489
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Aug 6 14:34:51 2012 -0400

    screen: Keep 'show notifications' sensitive
    
    Even when automatic screen locking is disabled, the user can
    still manually lock the screen, and may want to control whether
    notifications show up in that case or not.

 panels/screen/cc-screen-panel.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/panels/screen/cc-screen-panel.c b/panels/screen/cc-screen-panel.c
index 6a2f998..8ce9b2a 100644
--- a/panels/screen/cc-screen-panel.c
+++ b/panels/screen/cc-screen-panel.c
@@ -545,12 +545,6 @@ cc_screen_panel_init (CcScreenPanel *self)
                    widget, "active",
                    G_SETTINGS_BIND_DEFAULT);
 
-  widget = WID ("show_notifications_box");
-  g_settings_bind (self->priv->lock_settings,
-                   "lock-enabled",
-                   widget, "sensitive",
-                   G_SETTINGS_BIND_GET);
-
   update_lock_screen_sensitivity (self);
 
   widget = WID ("screen_vbox");



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