diff options
Diffstat (limited to 'src/empathy-account-assistant.c')
-rw-r--r-- | src/empathy-account-assistant.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c index 964b69154..042e433f5 100644 --- a/src/empathy-account-assistant.c +++ b/src/empathy-account-assistant.c @@ -849,12 +849,17 @@ impl_signal_apply (GtkAssistant *assistant) current_page = gtk_assistant_get_current_page (assistant); - if (current_page == PAGE_ENTER_CREATE) + if (current_page == PAGE_SALUT) + { + if (priv->create_salut_account) + account_assistant_apply_account_and_finish (self, priv->salut_settings); + return; + } + + if (current_page >= PAGE_ENTER_CREATE) account_assistant_apply_account_and_finish (self, priv->settings); else if (current_page == PAGE_IMPORT) empathy_import_widget_add_selected_accounts (priv->iw); - else if (current_page == PAGE_SALUT && priv->create_salut_account) - account_assistant_apply_account_and_finish (self, priv->salut_settings); } static void @@ -873,7 +878,7 @@ impl_signal_prepare (GtkAssistant *assistant, current_idx = gtk_assistant_get_current_page (assistant); - if (current_idx == PAGE_ENTER_CREATE) + if (current_idx >= PAGE_ENTER_CREATE && current_idx != PAGE_SALUT) { if (!priv->enter_create_forward) { |