aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-component-registry.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-08-11 07:59:41 +0800
committerDan Winship <danw@src.gnome.org>2000-08-11 07:59:41 +0800
commit5778265e23c39c32412f7dac263c0447b4aefd82 (patch)
tree0fd88461794b5592a9fe5b084b0134bba2930977 /shell/e-component-registry.c
parentca25daf7b1461631c6daa4282e4c06e1f5b9f159 (diff)
downloadgsoc2013-evolution-5778265e23c39c32412f7dac263c0447b4aefd82.tar.gz
gsoc2013-evolution-5778265e23c39c32412f7dac263c0447b4aefd82.tar.zst
gsoc2013-evolution-5778265e23c39c32412f7dac263c0447b4aefd82.zip
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
Diffstat (limited to 'shell/e-component-registry.c')
-rw-r--r--shell/e-component-registry.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/e-component-registry.c b/shell/e-component-registry.c
index a331a1a551..411fe93d42 100644
--- a/shell/e-component-registry.c
+++ b/shell/e-component-registry.c
@@ -138,6 +138,7 @@ register_component (EComponentRegistry *component_registry,
EvolutionShellComponentClient *client;
CORBA_Environment ev;
CORBA_unsigned_long i;
+ const char *local_directory;
priv = component_registry->priv;
@@ -157,8 +158,9 @@ register_component (EComponentRegistry *component_registry,
component_corba_interface = bonobo_object_corba_objref (BONOBO_OBJECT (client));
shell_corba_interface = bonobo_object_corba_objref (BONOBO_OBJECT (priv->shell));
+ local_directory = e_shell_get_local_directory (priv->shell);
- Evolution_ShellComponent_set_owner (component_corba_interface, shell_corba_interface, &ev);
+ Evolution_ShellComponent_set_owner (component_corba_interface, shell_corba_interface, local_directory, &ev);
if (ev._major != CORBA_NO_EXCEPTION) {
bonobo_object_unref (BONOBO_OBJECT (client));
CORBA_exception_free (&ev);