[gnome-initial-setup] Move account page population
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup] Move account page population
- Date: Tue, 25 Feb 2014 05:08:36 +0000 (UTC)
commit 128291e458a1a0c9c9db0f6720d2a8ca55944270
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Feb 25 00:07:02 2014 -0500
Move account page population
Move the population of the local account information after the
defaults have been set.
.../pages/account/gis-account-page-local.c | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gnome-initial-setup/pages/account/gis-account-page-local.c
b/gnome-initial-setup/pages/account/gis-account-page-local.c
index 24d2b6a..60c07d9 100644
--- a/gnome-initial-setup/pages/account/gis-account-page-local.c
+++ b/gnome-initial-setup/pages/account/gis-account-page-local.c
@@ -276,15 +276,6 @@ gis_account_page_local_constructed (GObject *object)
g_signal_connect (priv->username_combo, "changed",
G_CALLBACK (username_changed), page);
- priv->goa_client = goa_client_new_sync (NULL, NULL);
- if (priv->goa_client) {
- g_signal_connect (priv->goa_client, "account-added",
- G_CALLBACK (accounts_changed), page);
- g_signal_connect (priv->goa_client, "account-removed",
- G_CALLBACK (accounts_changed), page);
-
- }
-
priv->valid_name = FALSE;
priv->valid_username = FALSE;
@@ -297,6 +288,15 @@ gis_account_page_local_constructed (GObject *object)
gtk_image_set_pixel_size (GTK_IMAGE (priv->avatar_image), 96);
gtk_image_set_from_icon_name (GTK_IMAGE (priv->avatar_image), "avatar-default-symbolic", 1);
+
+ priv->goa_client = goa_client_new_sync (NULL, NULL);
+ if (priv->goa_client) {
+ g_signal_connect (priv->goa_client, "account-added",
+ G_CALLBACK (accounts_changed), page);
+ g_signal_connect (priv->goa_client, "account-removed",
+ G_CALLBACK (accounts_changed), page);
+ prepopulate_account_page (page);
+ }
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]