[empathy] assistant: Fix creation of the last account created
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] assistant: Fix creation of the last account created
- Date: Fri, 19 Feb 2010 11:16:55 +0000 (UTC)
commit 6e6f54464f4fe105bbda956699a6fc130c72b8d0
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Fri Feb 19 11:09:38 2010 +0000
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 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
index c3cd903..cfaea67 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]