diff options
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/evolution-wizard.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index c0d5935994..6e2db069d2 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2002-09-18 Not Zed <NotZed@Ximian.com> + + * evolution-wizard.c (impl_GNOME_Evolution_Wizard_notifyAction): + Allow 'back' to run if we're on the finish page. For #29293. + 2002-09-17 Ettore Perazzoli <ettore@ximian.com> * e-storage.c (e_storage_result_to_string): Add description for diff --git a/shell/evolution-wizard.c b/shell/evolution-wizard.c index 291c7ad57a..07ad4fe0b0 100644 --- a/shell/evolution-wizard.c +++ b/shell/evolution-wizard.c @@ -100,7 +100,9 @@ impl_GNOME_Evolution_Wizard_notifyAction (PortableServer_Servant servant, wizard = EVOLUTION_WIZARD (bonobo_object); priv = wizard->priv; - if (pagenumber < 0 || pagenumber >= priv->page_count) { + if (pagenumber < 0 + || pagenumber > priv->page_count + || (action != GNOME_Evolution_Wizard_BACK && pagenumber == priv->page_count)) { CORBA_exception_set (ev, CORBA_USER_EXCEPTION, ex_GNOME_Evolution_Wizard_NoPage, NULL); return; |