From 6e6f54464f4fe105bbda956699a6fc130c72b8d0 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 19 Feb 2010 11:09:38 +0000 Subject: assistant: Fix creation of the last account created When user enters the details about his last account, the 'prepare' signal is not fired. So we should create the account in impl_signal_apply instead. Fixes bug #609995. --- src/empathy-account-assistant.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c index c3cd90381..cfaea67b4 100644 --- a/src/empathy-account-assistant.c +++ b/src/empathy-account-assistant.c @@ -893,6 +893,12 @@ impl_signal_apply (GtkAssistant *assistant) account_assistant_apply_account_and_finish (self, priv->salut_settings); return; } + else if (current_page == PAGE_ENTER_CREATE && + priv->settings != NULL && + empathy_account_settings_is_valid (priv->settings)) + { + account_assistant_apply_account_and_finish (self, priv->settings); + } } static void -- cgit v1.2.3