screen: set the label as insensitive when Lock is off

https://bugzilla.gnome.org/show_bug.cgi?id=645149
This commit is contained in:
Cosimo Cecchi 2011-03-18 11:18:12 -04:00
parent ea317f5677
commit dd7bd15939
2 changed files with 2 additions and 1 deletions

View file

@ -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",

View file

@ -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>