aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-09-19 09:35:05 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-09-19 09:35:05 +0800
commit51a1b671a3522dabdd02306f18a01617fc24e742 (patch)
tree127b6dd9de861770d117375d99475a6ea1534c7b /mail
parentb8560907adf8621bb3ed916751c3cf75521bee14 (diff)
downloadgsoc2013-evolution-51a1b671a3522dabdd02306f18a01617fc24e742.tar
gsoc2013-evolution-51a1b671a3522dabdd02306f18a01617fc24e742.tar.gz
gsoc2013-evolution-51a1b671a3522dabdd02306f18a01617fc24e742.tar.bz2
gsoc2013-evolution-51a1b671a3522dabdd02306f18a01617fc24e742.tar.lz
gsoc2013-evolution-51a1b671a3522dabdd02306f18a01617fc24e742.tar.xz
gsoc2013-evolution-51a1b671a3522dabdd02306f18a01617fc24e742.tar.zst
gsoc2013-evolution-51a1b671a3522dabdd02306f18a01617fc24e742.zip
If going back from a page past our end (i.e. the final page), jump to the
2002-09-18 Not Zed <NotZed@Ximian.com> * mail-config-druid.c (wizard_back_cb): If going back from a page past our end (i.e. the final page), jump to the last page we know of. For #29293. svn path=/trunk/; revision=18105
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/mail-config-druid.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 7c2c4b2190..48b3e2a061 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,9 @@
2002-09-18 Not Zed <NotZed@Ximian.com>
+ * mail-config-druid.c (wizard_back_cb): If going back from a page
+ past our end (i.e. the final page), jump to the last page we know
+ of. For #29293.
+
* component-factory.c (notify_listener_exception): helper to map a
camel excpeiton to a listener result.
(storage_create_folder): Use above to return more meaningful error.
diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c
index 6266fa1e0b..988742d14a 100644
--- a/mail/mail-config-druid.c
+++ b/mail/mail-config-druid.c
@@ -941,7 +941,9 @@ wizard_back_cb (EvolutionWizard *wizard,
int page_num,
MailConfigWizard *gui)
{
- if (wizard_pages[page_num].back_func == NULL
+ if (page_num >= 5)
+ evolution_wizard_set_page(wizard, 4, NULL);
+ else if (wizard_pages[page_num].back_func == NULL
|| !(wizard_pages[page_num].back_func (wizard, gui))) {
if (page_num > 0)
evolution_wizard_set_page(wizard, page_num-1, NULL);