aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-02-10 19:37:38 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-02-10 21:58:40 +0800
commit0ad091ed52c2818870dbfc3d7cd1aed573f5099f (patch)
treedff0c928f4266ea5c9248ad3c9c98efd1a1cdbb6 /src
parentbb10972967005ad19d42287597ae52d1a11e543b (diff)
downloadgsoc2013-empathy-0ad091ed52c2818870dbfc3d7cd1aed573f5099f.tar
gsoc2013-empathy-0ad091ed52c2818870dbfc3d7cd1aed573f5099f.tar.gz
gsoc2013-empathy-0ad091ed52c2818870dbfc3d7cd1aed573f5099f.tar.bz2
gsoc2013-empathy-0ad091ed52c2818870dbfc3d7cd1aed573f5099f.tar.lz
gsoc2013-empathy-0ad091ed52c2818870dbfc3d7cd1aed573f5099f.tar.xz
gsoc2013-empathy-0ad091ed52c2818870dbfc3d7cd1aed573f5099f.tar.zst
gsoc2013-empathy-0ad091ed52c2818870dbfc3d7cd1aed573f5099f.zip
assistant: store the ID of the current page
This will make easier to know from which page we are coming in impl_signal_prepare.
Diffstat (limited to 'src')
-rw-r--r--src/empathy-account-assistant.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
index 9e835ec25..a7a142cb0 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)
{