diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-11-11 09:01:11 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-11-11 09:01:11 +0800 |
commit | a99f0c42908ca1d5e923164c624f34cc770bef4f (patch) | |
tree | 133ea3ae8f73acf6649ee8c1f2aeda120206144d /shell/Evolution-Shell.idl | |
parent | b1c26ce2bde7fffcd39cc185cc8670e767d190ba (diff) | |
download | gsoc2013-evolution-a99f0c42908ca1d5e923164c624f34cc770bef4f.tar.gz gsoc2013-evolution-a99f0c42908ca1d5e923164c624f34cc770bef4f.tar.zst gsoc2013-evolution-a99f0c42908ca1d5e923164c624f34cc770bef4f.zip |
Added a new "-c" command-line arg. (idle_cb): If the arg is specified,
* main.c: Added a new "-c" command-line arg.
(idle_cb): If the arg is specified, open the component with that
id/alias.
* e-shell.c (impl_Shell_createNewView): New, implementation for
the Shell::createNewView() CORBA method.
(e_shell_class_init): Install.
(e_shell_create_window): Get a component_id arg.
* e-shell-window.c (e_shell_window_new): Get a component_id arg
and create the window with that component activated if not NULL.
* Evolution-Shell.idl (createNewView): Remove.
(createNewWindow): New.
svn path=/trunk/; revision=23274
Diffstat (limited to 'shell/Evolution-Shell.idl')
-rw-r--r-- | shell/Evolution-Shell.idl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/shell/Evolution-Shell.idl b/shell/Evolution-Shell.idl index dd3f44838c..5f2690afe4 100644 --- a/shell/Evolution-Shell.idl +++ b/shell/Evolution-Shell.idl @@ -13,21 +13,21 @@ module GNOME { module Evolution { interface Shell : Bonobo::Unknown { - exception NotReady {}; + exception Busy {}; + exception ComponentNotFound {}; + exception InternalError {}; + exception InvalidURI {}; exception NotFound {}; + exception NotReady {}; exception UnsupportedSchema {}; - exception InvalidURI {}; - exception InternalError {}; - exception Busy {}; /** - * createNewView: - * @uri: URI for the view to open + * createNewWindow: + * @component_id: id or alias of the component to display in the new window. * - * Return value: the new view. */ - ShellView createNewView (in string uri) - raises (NotReady, NotFound, UnsupportedSchema, InvalidURI, InternalError); + void createNewWindow (in string component_id) + raises (NotReady, ComponentNotFound, UnsupportedSchema, InternalError); /** * handleURI: |