aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-02-19 19:09:38 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-02-19 19:09:38 +0800
commit6e6f54464f4fe105bbda956699a6fc130c72b8d0 (patch)
treed12fb2f1db3ee19d986ffd176cd8804b2f34ed81 /src
parent95466c01c61e06f33c29b9a243789e6ef34335d7 (diff)
downloadgsoc2013-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')
-rw-r--r--src/empathy-account-assistant.c6
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