[gnome-initial-setup/fix-account-local-enterprise-switch: 2/2] account: fix showing/hiding toggle & enterprise page



commit 8149d3fed7e0d648d411bf18425af2ef05e88c34
Author: Will Thompson <will willthompson co uk>
Date:   Fri Mar 1 14:51:41 2019 +0000

    account: fix showing/hiding toggle & enterprise page
    
    6ef744e introduced a GtkStack widget above ...

 gnome-initial-setup/pages/account/gis-account-page.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnome-initial-setup/pages/account/gis-account-page.c 
b/gnome-initial-setup/pages/account/gis-account-page.c
index e485d31..089ab97 100644
--- a/gnome-initial-setup/pages/account/gis-account-page.c
+++ b/gnome-initial-setup/pages/account/gis-account-page.c
@@ -244,7 +244,7 @@ gis_account_page_constructed (GObject *object)
 
   g_signal_connect (priv->page_toggle, "toggled", G_CALLBACK (toggle_mode), page);
   g_object_bind_property (page, "applying", priv->page_toggle, "sensitive", G_BINDING_INVERT_BOOLEAN);
-  g_object_bind_property (priv->page_enterprise, "visible", priv->page_toggle, "visible", G_BINDING_DEFAULT 
| G_BINDING_SYNC_CREATE);
+  g_object_bind_property (priv->page_enterprise, "visible", priv->offline_stack, "visible", 
G_BINDING_DEFAULT | G_BINDING_SYNC_CREATE);
 
   /* force a refresh by setting to an invalid value */
   priv->mode = NUM_MODES;


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