aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);