aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-22 00:38:31 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-25 22:13:40 +0800
commitebafe1dbc235b57e286fce9901ca65652fdc9898 (patch)
treed55466cfc68223e534bbe14d5b01e23af293e263 /src
parent933b597933edb8a02b4cda32fe08290dbb1e1903 (diff)
downloadgsoc2013-empathy-ebafe1dbc235b57e286fce9901ca65652fdc9898.tar
gsoc2013-empathy-ebafe1dbc235b57e286fce9901ca65652fdc9898.tar.gz
gsoc2013-empathy-ebafe1dbc235b57e286fce9901ca65652fdc9898.tar.bz2
gsoc2013-empathy-ebafe1dbc235b57e286fce9901ca65652fdc9898.tar.lz
gsoc2013-empathy-ebafe1dbc235b57e286fce9901ca65652fdc9898.tar.xz
gsoc2013-empathy-ebafe1dbc235b57e286fce9901ca65652fdc9898.tar.zst
gsoc2013-empathy-ebafe1dbc235b57e286fce9901ca65652fdc9898.zip
Display the salut page after the import one
Diffstat (limited to 'src')
-rw-r--r--src/empathy-account-assistant.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
index 3f28ccf34..689147e64 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);