aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-25 19:57:38 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-25 22:13:40 +0800
commitef60aa9e573bea328d0cad4b3619912b021d0d9b (patch)
tree483364b36d4fb99a587d9c8935a1b0507f72900d
parent1a42d308197d71aac322a61978eb5dce266bbe95 (diff)
downloadgsoc2013-empathy-ef60aa9e573bea328d0cad4b3619912b021d0d9b.tar
gsoc2013-empathy-ef60aa9e573bea328d0cad4b3619912b021d0d9b.tar.gz
gsoc2013-empathy-ef60aa9e573bea328d0cad4b3619912b021d0d9b.tar.bz2
gsoc2013-empathy-ef60aa9e573bea328d0cad4b3619912b021d0d9b.tar.lz
gsoc2013-empathy-ef60aa9e573bea328d0cad4b3619912b021d0d9b.tar.xz
gsoc2013-empathy-ef60aa9e573bea328d0cad4b3619912b021d0d9b.tar.zst
gsoc2013-empathy-ef60aa9e573bea328d0cad4b3619912b021d0d9b.zip
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.
-rw-r--r--src/empathy-account-assistant.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
index 5d4722dbf..242a8d7ba 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)