diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-08-23 02:43:38 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-08-23 02:43:38 +0800 |
commit | 45a6ac022bc86f649bb49f909f95b9311eec57c9 (patch) | |
tree | b72de52af0ddd91c052ff48c60bf384b8d964824 /src/empathy-account-assistant.c | |
parent | f984475cb967427790466d21b42b6e703fa55a26 (diff) | |
download | gsoc2013-empathy-45a6ac022bc86f649bb49f909f95b9311eec57c9.tar gsoc2013-empathy-45a6ac022bc86f649bb49f909f95b9311eec57c9.tar.gz gsoc2013-empathy-45a6ac022bc86f649bb49f909f95b9311eec57c9.tar.bz2 gsoc2013-empathy-45a6ac022bc86f649bb49f909f95b9311eec57c9.tar.lz gsoc2013-empathy-45a6ac022bc86f649bb49f909f95b9311eec57c9.tar.xz gsoc2013-empathy-45a6ac022bc86f649bb49f909f95b9311eec57c9.tar.zst gsoc2013-empathy-45a6ac022bc86f649bb49f909f95b9311eec57c9.zip |
Use the right default answer if we're not importing accounts
Diffstat (limited to 'src/empathy-account-assistant.c')
-rw-r--r-- | src/empathy-account-assistant.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c index e375aa72e..d8aa46f1d 100644 --- a/src/empathy-account-assistant.c +++ b/src/empathy-account-assistant.c @@ -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); |