diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-02-19 19:09:38 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-02-19 19:09:38 +0800 |
commit | 6e6f54464f4fe105bbda956699a6fc130c72b8d0 (patch) | |
tree | d12fb2f1db3ee19d986ffd176cd8804b2f34ed81 /src/empathy-account-assistant.c | |
parent | 95466c01c61e06f33c29b9a243789e6ef34335d7 (diff) | |
download | gsoc2013-empathy-6e6f54464f4fe105bbda956699a6fc130c72b8d0.tar gsoc2013-empathy-6e6f54464f4fe105bbda956699a6fc130c72b8d0.tar.gz gsoc2013-empathy-6e6f54464f4fe105bbda956699a6fc130c72b8d0.tar.bz2 gsoc2013-empathy-6e6f54464f4fe105bbda956699a6fc130c72b8d0.tar.lz gsoc2013-empathy-6e6f54464f4fe105bbda956699a6fc130c72b8d0.tar.xz gsoc2013-empathy-6e6f54464f4fe105bbda956699a6fc130c72b8d0.tar.zst gsoc2013-empathy-6e6f54464f4fe105bbda956699a6fc130c72b8d0.zip |
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.
Diffstat (limited to 'src/empathy-account-assistant.c')
-rw-r--r-- | 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 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 |