region: Show a Login Screen button when multi-user
The button doesn't do anything yet.
This commit is contained in:
parent
8cc06f8413
commit
b47b4afb83
1 changed files with 4 additions and 1 deletions
|
@ -146,7 +146,10 @@ cc_region_panel_constructed (GObject *object)
|
|||
|
||||
cc_shell_embed_widget_in_header (cc_panel_get_shell (CC_PANEL (object)),
|
||||
priv->login_button);
|
||||
gtk_widget_show (priv->login_button);
|
||||
|
||||
g_object_bind_property (priv->user_manager, "has-multiple-users",
|
||||
priv->login_button, "visible",
|
||||
G_BINDING_SYNC_CREATE);
|
||||
}
|
||||
|
||||
static const char *
|
||||
|
|
Loading…
Add table
Reference in a new issue