[empathy/gnome-2-30] assistant: call empathy_import_widget_add_selected_accounts in impl_signal_apply as well



commit ad57c03ab520ce83282b582c2a1d7dc7e537031f
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Tue May 25 14:45:05 2010 +0200

    assistant: call empathy_import_widget_add_selected_accounts in impl_signal_apply as well
    
    If the user already has a salut account configured, the import page is the
    last one of the assistant. So impl_signal_apply() is called instead of
    impl_signal_prepare(). (#617971)

 src/empathy-account-assistant.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
index a8a77e3..060345a 100644
--- a/src/empathy-account-assistant.c
+++ b/src/empathy-account-assistant.c
@@ -913,6 +913,10 @@ impl_signal_apply (GtkAssistant *assistant)
       g_object_unref (priv->settings);
       priv->settings = NULL;
     }
+  else if (current_page == PAGE_IMPORT)
+    {
+      empathy_import_widget_add_selected_accounts (priv->iw);
+    }
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]