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/e-shell-window.h | |
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/e-shell-window.h')
-rw-r--r-- | shell/e-shell-window.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/e-shell-window.h b/shell/e-shell-window.h index 1a012fe20a..2d1848b034 100644 --- a/shell/e-shell-window.h +++ b/shell/e-shell-window.h @@ -52,7 +52,8 @@ struct _EShellWindowClass { GType e_shell_window_get_type (void); -GtkWidget *e_shell_window_new (EShell *shell); +GtkWidget *e_shell_window_new (EShell *shell, + const char *component_id); void e_shell_window_switch_to_component (EShellWindow *shell, const char *component_id); |