diff options
author | Dan Winship <danw@src.gnome.org> | 2003-02-25 23:45:53 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2003-02-25 23:45:53 +0800 |
commit | e9b3db536dcbedc71dc6a5a733ac8cd8711eb0db (patch) | |
tree | 44158e253006506645cd11834c1222cc8a343cdf /shell/Evolution-Wizard.idl | |
parent | 176204b94f0a36a105b4bb7e7ac7a5d6e9f0638b (diff) | |
download | gsoc2013-evolution-e9b3db536dcbedc71dc6a5a733ac8cd8711eb0db.tar.gz gsoc2013-evolution-e9b3db536dcbedc71dc6a5a733ac8cd8711eb0db.tar.zst gsoc2013-evolution-e9b3db536dcbedc71dc6a5a733ac8cd8711eb0db.zip |
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
Diffstat (limited to 'shell/Evolution-Wizard.idl')
-rw-r--r-- | shell/Evolution-Wizard.idl | 13 |
1 files changed, 9 insertions, 4 deletions
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<Page> 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); }; |