[gnome-control-center] screen: set the label as insensitive when Lock is off
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] screen: set the label as insensitive when Lock is off
- Date: Fri, 18 Mar 2011 17:24:26 +0000 (UTC)
commit dd7bd159390714c3921c9da1feea3aabbe92b8f6
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Mar 18 11:18:12 2011 -0400
screen: set the label as insensitive when Lock is off
https://bugzilla.gnome.org/show_bug.cgi?id=645149
panels/screen/cc-screen-panel.c | 1 +
panels/screen/screen.ui | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/panels/screen/cc-screen-panel.c b/panels/screen/cc-screen-panel.c
index e7ecc24..35c9aba 100644
--- a/panels/screen/cc-screen-panel.c
+++ b/panels/screen/cc-screen-panel.c
@@ -486,6 +486,7 @@ cc_screen_panel_init (CcScreenPanel *self)
G_CALLBACK (lock_combo_changed_cb),
self);
+ widget = WID ("screen_lock_hbox");
g_settings_bind (self->priv->lock_settings,
"lock-enabled",
widget, "sensitive",
diff --git a/panels/screen/screen.ui b/panels/screen/screen.ui
index 266448b..6ac9a64 100644
--- a/panels/screen/screen.ui
+++ b/panels/screen/screen.ui
@@ -228,7 +228,7 @@
</packing>
</child>
<child>
- <object class="GtkHBox" id="hbox3">
+ <object class="GtkHBox" id="screen_lock_hbox">
<property name="visible">True</property>
<property name="spacing">6</property>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]