From 5778265e23c39c32412f7dac263c0447b4aefd82 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 10 Aug 2000 23:59:41 +0000 Subject: add "in string evolution_homedir" to ShellComponent::set_owner's * Evolution-ShellComponent.idl: add "in string evolution_homedir" to ShellComponent::set_owner's arguments. * e-shell.c (e_shell_get_local_directory): Expose local_directory. * e-component-registry.c (register_component): Pass the shell's "local_directory" to the component as its evolution_homedir. * evolution-shell-component.c (impl_ShellComponent_set_owner): Update to include evolution_homedir. (class_init): Update signal prototype. * evolution-shell-component-client.c (evolution_shell_component_client_set_owner): Update to include evolution_homedir. * e-init.c: Remove. This wasn't being used. svn path=/trunk/; revision=4710 --- shell/evolution-shell-component-client.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'shell/evolution-shell-component-client.c') diff --git a/shell/evolution-shell-component-client.c b/shell/evolution-shell-component-client.c index d805686518..c6cb1463dd 100644 --- a/shell/evolution-shell-component-client.c +++ b/shell/evolution-shell-component-client.c @@ -347,7 +347,8 @@ evolution_shell_component_client_new (const char *id) EvolutionShellComponentResult evolution_shell_component_client_set_owner (EvolutionShellComponentClient *shell_component_client, - Evolution_Shell shell) + Evolution_Shell shell, + const char *evolution_homedir) { EvolutionShellComponentResult result; CORBA_Environment ev; @@ -359,7 +360,7 @@ evolution_shell_component_client_set_owner (EvolutionShellComponentClient *shell CORBA_exception_init (&ev); Evolution_ShellComponent_set_owner (bonobo_object_corba_objref (BONOBO_OBJECT (shell_component_client)), - shell, &ev); + shell, evolution_homedir, &ev); result = corba_exception_to_result (&ev); -- cgit v1.2.3