From a99f0c42908ca1d5e923164c624f34cc770bef4f Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Tue, 11 Nov 2003 01:01:11 +0000 Subject: 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 --- shell/e-shell-window.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shell/e-shell-window.h') 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); -- cgit v1.2.3