[empathy] Display the salut page after the import one



commit ebafe1dbc235b57e286fce9901ca65652fdc9898
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu Jan 21 16:38:31 2010 +0000

    Display the salut page after the import one

 src/empathy-account-assistant.c |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
index 3f28ccf..689147e 100644
--- a/src/empathy-account-assistant.c
+++ b/src/empathy-account-assistant.c
@@ -511,8 +511,10 @@ account_assistant_page_forward_func (gint current_page,
         retval = PAGE_SALUT;
     }
 
-  if (current_page == PAGE_IMPORT ||
-      current_page >= PAGE_ENTER_CREATE)
+  if (current_page == PAGE_IMPORT)
+    retval = PAGE_SALUT;
+
+  else if (current_page >= PAGE_ENTER_CREATE)
     /* don't forward anymore */
     retval = -1;
 
@@ -1157,7 +1159,7 @@ do_constructed (GObject *object)
   gtk_assistant_set_page_title (assistant, page,
       _("Import your existing accounts"));
   gtk_assistant_set_page_complete (assistant, page, TRUE);
-  gtk_assistant_set_page_type (assistant, page, GTK_ASSISTANT_PAGE_CONFIRM);
+  gtk_assistant_set_page_type (assistant, page, GTK_ASSISTANT_PAGE_INTRO);
 
   /* third page (enter account details) */
   page = account_assistant_build_enter_or_create_page (self);



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