impl_signal_apply isn't called any more after the "import" page as this page
as a 'next' button now.
So we have to create the imported accounts when preparing the next page.
account_assistant_apply_account_and_finish (self, priv->salut_settings);
return;
}
-
- else if (current_page == PAGE_IMPORT)
- empathy_import_widget_add_selected_accounts (priv->iw);
}
static void
EmpathyAccountAssistantPriv *priv = GET_PRIV (self);
gint current_idx;
+ /* check from which page we are coming from */
+ switch (priv->current_page_id)
+ {
+ case PAGE_IMPORT:
+ empathy_import_widget_add_selected_accounts (priv->iw);
+ break;
+ }
+
current_idx = gtk_assistant_get_current_page (assistant);
priv->current_page_id = current_idx;