[empathy] assistant: store the ID of the current page



commit 0ad091ed52c2818870dbfc3d7cd1aed573f5099f
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Feb 10 11:37:38 2010 +0000

    assistant: store the ID of the current page
    
    This will make easier to know from which page we are coming in
    impl_signal_prepare.

 src/empathy-account-assistant.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
index 9e835ec..a7a142c 100644
--- a/src/empathy-account-assistant.c
+++ b/src/empathy-account-assistant.c
@@ -75,6 +75,7 @@ typedef struct {
   gboolean enter_create_forward;
   TpAccountManager *account_mgr;
   EmpathyConnectionManagers *connection_mgrs;
+  gint current_page_id;
 
   /* enter or create page */
   GtkWidget *enter_or_create_page;
@@ -893,6 +894,7 @@ impl_signal_prepare (GtkAssistant *assistant,
   gint current_idx;
 
   current_idx = gtk_assistant_get_current_page (assistant);
+  priv->current_page_id = current_idx;
 
   if (current_idx >= PAGE_ENTER_CREATE)
     {



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