aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-Shell.idl
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-11-11 09:01:11 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-11-11 09:01:11 +0800
commita99f0c42908ca1d5e923164c624f34cc770bef4f (patch)
tree133ea3ae8f73acf6649ee8c1f2aeda120206144d /shell/Evolution-Shell.idl
parentb1c26ce2bde7fffcd39cc185cc8670e767d190ba (diff)
downloadgsoc2013-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.idl18
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: