diff options
author | Not Zed <NotZed@Ximian.com> | 2002-09-19 09:37:46 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-09-19 09:37:46 +0800 |
commit | 8b0060a21590c79923a69426da6dcbbb8a18da74 (patch) | |
tree | 54ff0cf6597f836d48f71dc15fd24b7b4583fd2d /shell | |
parent | 51a1b671a3522dabdd02306f18a01617fc24e742 (diff) | |
download | gsoc2013-evolution-8b0060a21590c79923a69426da6dcbbb8a18da74.tar.gz gsoc2013-evolution-8b0060a21590c79923a69426da6dcbbb8a18da74.tar.zst gsoc2013-evolution-8b0060a21590c79923a69426da6dcbbb8a18da74.zip |
Allow 'back' to run if we're on the finish page. For #29293.
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.
svn path=/trunk/; revision=18106
Diffstat (limited to 'shell')
-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; |