[gnome-control-center/wip/region-panel] Actually show the login button



commit 832ec410582397a0a2a10bb5bdd6fda509d7beba
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jan 30 06:00:46 2013 -0500

    Actually show the login button

 panels/region/cc-region-panel.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/panels/region/cc-region-panel.c b/panels/region/cc-region-panel.c
index 668436a..80ea7e0 100644
--- a/panels/region/cc-region-panel.c
+++ b/panels/region/cc-region-panel.c
@@ -1482,6 +1482,8 @@ setup_login_button (CcRegionPanel *self)
         g_object_bind_property (priv->user_manager, "has-multiple-users",
                                 priv->login_button, "visible",
                                 G_BINDING_SYNC_CREATE);
+#else
+        gtk_widget_set_visible (priv->login_button, TRUE);
 #endif
 
         g_signal_connect_swapped (priv->login_button, "notify::active",



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