aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy.c')
-rw-r--r--src/empathy.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/empathy.c b/src/empathy.c
index b80b64be7..acfdcb13e 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -63,6 +63,7 @@
#include <libempathy-gtk/empathy-ui-utils.h>
#include <libempathy-gtk/empathy-location-manager.h>
+#include "empathy-account-assistant.h"
#include "empathy-accounts-dialog.h"
#include "empathy-main-window.h"
#include "empathy-status-icon.h"
@@ -532,12 +533,17 @@ account_manager_ready_cb (EmpathyAccountManager *manager,
GParamSpec *spec,
gpointer user_data)
{
+ GtkWidget *assistant;
+
if (!empathy_account_manager_is_ready (manager))
return;
if (empathy_account_manager_get_count (manager) == 0)
- empathy_accounts_dialog_show (GTK_WINDOW (empathy_main_window_get ()),
- NULL);
+ {
+ assistant = empathy_account_assistant_new (
+ GTK_WINDOW (empathy_main_window_get ()));
+ gtk_window_present (GTK_WINDOW (assistant));
+ }
create_salut_account ();
}