From e9b3db536dcbedc71dc6a5a733ac8cd8711eb0db Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 25 Feb 2003 15:45:53 +0000 Subject: Change this to let the Wizard provide an array of title/icon/control * Evolution-Wizard.idl: Change this to let the Wizard provide an array of title/icon/control triplets, instead of just controls, so the shell doesn't need to know the name of each page a priori. * glade/evolution-startup-wizard.glade: Remove the mailer-specific pages, which are now inserted at run time based on info from the mailer. * evolution-wizard.c: Update for new idl. (evolution_wizard_new): Now takes no arguments. (evolution_wizard_add_page): New function to add page info to the wizard. * e-shell-startup-wizard.c: Various renamings to make this slightly less mailer-centric, though it still explicitly launches the mailer startup wizard. (make_corba_page): Replaces make_identity_page, make_receive_page, etc. Uses the new Wizard idl to generically create a page and insert it into the druid. (e_shell_startup_wizard_create): Update svn path=/trunk/; revision=20053 --- shell/Evolution-Wizard.idl | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'shell/Evolution-Wizard.idl') diff --git a/shell/Evolution-Wizard.idl b/shell/Evolution-Wizard.idl index 222830d737..145774f70b 100644 --- a/shell/Evolution-Wizard.idl +++ b/shell/Evolution-Wizard.idl @@ -15,7 +15,15 @@ module Evolution { interface Wizard : Bonobo::Unknown { - readonly attribute long pageCount; + struct Page { + string title; + Icon icon; + Bonobo::Control control; + }; + typedef sequence PageList; + + readonly attribute PageList pages; + enum Action { NEXT, PREPARE, @@ -27,9 +35,6 @@ module Evolution { exception NoPage {}; - Bonobo::Control getControl (in long pagenumber) - raises (NoPage); - void notifyAction (in long pagenumber, in Action action) raises (NoPage); }; -- cgit