[gnome-control-center/wip/region-panel: 15/42] Always show the login screen button for now



commit a2172085d6404757f32ba60e796ddad2373072f0
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jan 29 18:05:59 2013 -0500

    Always show the login screen button for now
    
    Hiding it is going to make people angry.
    The system-wide settings are useful on vts too.

 panels/region/cc-region-panel.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/panels/region/cc-region-panel.c b/panels/region/cc-region-panel.c
index 7fd8749..668436a 100644
--- a/panels/region/cc-region-panel.c
+++ b/panels/region/cc-region-panel.c
@@ -1475,9 +1475,14 @@ setup_login_button (CcRegionPanel *self)
 
         gtk_widget_set_sensitive (priv->login_button, FALSE);
 
+#if 0
+        /* Not convinced this is a good idea even if the sole user is
+         * autologin - the system-wide settings are also applied on vts.
+         */
         g_object_bind_property (priv->user_manager, "has-multiple-users",
                                 priv->login_button, "visible",
                                 G_BINDING_SYNC_CREATE);
+#endif
 
         g_signal_connect_swapped (priv->login_button, "notify::active",
                                   G_CALLBACK (login_changed), self);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]