[empathy/mc5] Don't forward anymore after the end



commit 84fbdb813bbb7f29aceedbd7293dcb10c499d660
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Aug 5 16:39:47 2009 +0200

    Don't forward anymore after the end

 src/empathy-account-assistant.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
index 567ddc6..4c7062b 100644
--- a/src/empathy-account-assistant.c
+++ b/src/empathy-account-assistant.c
@@ -281,6 +281,12 @@ account_assistant_page_forward_func (gint current_page,
         retval = PAGE_ENTER_CREATE;
     }
 
+  if (current_page == PAGE_ENTER_CREATE)
+    {
+      /* don't forward anymore */
+      retval = -1;
+    }
+
   g_print ("retval = %d\n", retval);
   return retval;
 }



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