* 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
43 lines
694 B
Plaintext
43 lines
694 B
Plaintext
/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
|
/*
|
|
* Interface for a wizard done through Bonobo.
|
|
*
|
|
* Authors:
|
|
* Iain Holmes <iain@ximian.com>
|
|
*
|
|
* Copyright (C) 2000, 2001 Ximian, Inc.
|
|
*/
|
|
|
|
#include <Bonobo.idl>
|
|
|
|
module GNOME {
|
|
module Evolution {
|
|
|
|
interface Wizard : Bonobo::Unknown {
|
|
|
|
struct Page {
|
|
string title;
|
|
Icon icon;
|
|
Bonobo::Control control;
|
|
};
|
|
typedef sequence<Page> PageList;
|
|
|
|
readonly attribute PageList pages;
|
|
|
|
enum Action {
|
|
NEXT,
|
|
PREPARE,
|
|
BACK,
|
|
FINISH,
|
|
CANCEL,
|
|
HELP
|
|
};
|
|
|
|
exception NoPage {};
|
|
|
|
void notifyAction (in long pagenumber, in Action action)
|
|
raises (NoPage);
|
|
};
|
|
};
|
|
};
|