[empathy] account_assistant_page_forward_func: never go forward after the salut page



commit ef60aa9e573bea328d0cad4b3619912b021d0d9b
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Jan 25 11:57:38 2010 +0000

    account_assistant_page_forward_func: never go forward after the salut page
    
    This fix a bug if user chooses to not create a salut account.

 src/empathy-account-assistant.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
index 5d4722d..242a8d7 100644
--- a/src/empathy-account-assistant.c
+++ b/src/empathy-account-assistant.c
@@ -534,6 +534,11 @@ account_assistant_page_forward_func (gint current_page,
         /* Don't go forward */
         retval = -1;
     }
+  else if (current_page == PAGE_SALUT)
+    {
+      /* Don't go forward */
+      retval = -1;
+    }
   else if (current_page >= PAGE_ENTER_CREATE)
     {
       if (priv->create_enter_resp == RESPONSE_CREATE_AGAIN)



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