screen: set the label as insensitive when Lock is off
https://bugzilla.gnome.org/show_bug.cgi?id=645149
This commit is contained in:
parent
ea317f5677
commit
dd7bd15939
2 changed files with 2 additions and 1 deletions
|
@ -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",
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue