aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/im-accounts-service.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/im-accounts-service.c b/src/im-accounts-service.c
index a993e6e..40c269c 100644
--- a/src/im-accounts-service.c
+++ b/src/im-accounts-service.c
@@ -64,6 +64,12 @@ im_accounts_service_init (ImAccountsService *self)
priv->user_manager = act_user_manager_get_default();
g_signal_connect(priv->user_manager, "user-changed", G_CALLBACK(user_changed), self);
g_signal_connect(priv->user_manager, "notify::is-loaded", G_CALLBACK(is_loaded), self);
+
+ gboolean isLoaded = FALSE;
+ g_object_get(G_OBJECT(priv->user_manager), "is-loaded", &isLoaded, NULL);
+ if (isLoaded) {
+ is_loaded(priv->user_manager, NULL, NULL);
+ }
}
static void