diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-01-19 23:11:16 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-01-20 00:11:11 +0800 |
commit | 38069d2a7ed386cc85876aaefaa0dee9cd2ee484 (patch) | |
tree | 2b63b4b653bbd74d4cbfd73fa9a92addcdc58435 /src/empathy-account-assistant.c | |
parent | 902b24c56151985da6eadedc748803d686a07a62 (diff) | |
download | gsoc2013-empathy-38069d2a7ed386cc85876aaefaa0dee9cd2ee484.tar gsoc2013-empathy-38069d2a7ed386cc85876aaefaa0dee9cd2ee484.tar.gz gsoc2013-empathy-38069d2a7ed386cc85876aaefaa0dee9cd2ee484.tar.bz2 gsoc2013-empathy-38069d2a7ed386cc85876aaefaa0dee9cd2ee484.tar.lz gsoc2013-empathy-38069d2a7ed386cc85876aaefaa0dee9cd2ee484.tar.xz gsoc2013-empathy-38069d2a7ed386cc85876aaefaa0dee9cd2ee484.tar.zst gsoc2013-empathy-38069d2a7ed386cc85876aaefaa0dee9cd2ee484.zip |
Call create_salut_account_if_needed when the assistant is closed
That way we only try to create the account if the assistant properly
terminates (#607436).
Diffstat (limited to 'src/empathy-account-assistant.c')
-rw-r--r-- | src/empathy-account-assistant.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c index e0e230e43..a80e47c92 100644 --- a/src/empathy-account-assistant.c +++ b/src/empathy-account-assistant.c @@ -27,6 +27,7 @@ #include "empathy-account-assistant.h" #include "empathy-import-widget.h" #include "empathy-import-utils.h" +#include "empathy-auto-salut-account-helper.h" #include <libempathy/empathy-account-settings.h> #include <libempathy/empathy-utils.h> @@ -755,6 +756,8 @@ account_assistant_close_cb (GtkAssistant *assistant, if (priv->is_creating) return; + create_salut_account_if_needed (); + gtk_widget_destroy (GTK_WIDGET (assistant)); } |