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),
|
G_CALLBACK (lock_combo_changed_cb),
|
||||||
self);
|
self);
|
||||||
|
|
||||||
|
widget = WID ("screen_lock_hbox");
|
||||||
g_settings_bind (self->priv->lock_settings,
|
g_settings_bind (self->priv->lock_settings,
|
||||||
"lock-enabled",
|
"lock-enabled",
|
||||||
widget, "sensitive",
|
widget, "sensitive",
|
||||||
|
|
|
@ -228,7 +228,7 @@
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkHBox" id="hbox3">
|
<object class="GtkHBox" id="screen_lock_hbox">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="spacing">6</property>
|
<property name="spacing">6</property>
|
||||||
<child>
|
<child>
|
||||||
|
|
Loading…
Add table
Reference in a new issue