Commit 45a6ac02 authored by Sjoerd Simons's avatar Sjoerd Simons

Use the right default answer if we're not importing accounts

parent f984475c
......@@ -495,6 +495,7 @@ account_assistant_radio_choice_toggled_cb (GtkToggleButton *button,
static GtkWidget *
account_assistant_build_introduction_page (EmpathyAccountAssistant *self)
{
EmpathyAccountAssistantPriv *priv = GET_PRIV (self);
GtkWidget *main_vbox, *hbox_1, *w, *vbox_1;
GtkWidget *radio = NULL;
GdkPixbuf *pix;
......@@ -563,6 +564,11 @@ account_assistant_build_introduction_page (EmpathyAccountAssistant *self)
g_signal_connect (radio, "clicked",
G_CALLBACK (account_assistant_radio_choice_toggled_cb), self);
priv->first_resp = RESPONSE_IMPORT;
}
else
{
priv->first_resp = RESPONSE_ENTER_ACCOUNT;
}
str = _("Yes, I'll enter my account details now");
......@@ -910,9 +916,6 @@ empathy_account_assistant_init (EmpathyAccountAssistant *self)
GTK_ASSISTANT_PAGE_INTRO);
gtk_assistant_set_page_complete (assistant, page, TRUE);
/* set a default answer */
priv->first_resp = RESPONSE_IMPORT;
/* second page (import accounts) */
page = account_assistant_build_import_page (self);
gtk_assistant_append_page (assistant, page);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment