region: Show a Login Screen button when multi-user

The button doesn't do anything yet.
This commit is contained in:
Matthias Clasen 2013-01-29 16:41:27 -05:00 committed by Rui Matos
parent 8cc06f8413
commit b47b4afb83

View file

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