diff options
author | Dan Winship <danw@src.gnome.org> | 2000-08-11 07:59:41 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-08-11 07:59:41 +0800 |
commit | 5778265e23c39c32412f7dac263c0447b4aefd82 (patch) | |
tree | 0fd88461794b5592a9fe5b084b0134bba2930977 /shell/evolution-shell-component.c | |
parent | ca25daf7b1461631c6daa4282e4c06e1f5b9f159 (diff) | |
download | gsoc2013-evolution-5778265e23c39c32412f7dac263c0447b4aefd82.tar gsoc2013-evolution-5778265e23c39c32412f7dac263c0447b4aefd82.tar.gz gsoc2013-evolution-5778265e23c39c32412f7dac263c0447b4aefd82.tar.bz2 gsoc2013-evolution-5778265e23c39c32412f7dac263c0447b4aefd82.tar.lz gsoc2013-evolution-5778265e23c39c32412f7dac263c0447b4aefd82.tar.xz 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/evolution-shell-component.c')
-rw-r--r-- | shell/evolution-shell-component.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/shell/evolution-shell-component.c b/shell/evolution-shell-component.c index 100160503f..cedcf64b98 100644 --- a/shell/evolution-shell-component.c +++ b/shell/evolution-shell-component.c @@ -123,6 +123,7 @@ impl_ShellComponent__get_supported_types (PortableServer_Servant servant, static void impl_ShellComponent_set_owner (PortableServer_Servant servant, const Evolution_Shell shell, + const CORBA_char *evolution_homedir, CORBA_Environment *ev) { BonoboObject *bonobo_object; @@ -144,7 +145,7 @@ impl_ShellComponent_set_owner (PortableServer_Servant servant, if (ev->_major == CORBA_NO_EXCEPTION) { priv->owner_client = evolution_shell_client_new (shell_duplicate); - gtk_signal_emit (GTK_OBJECT (shell_component), signals[OWNER_SET], priv->owner_client); + gtk_signal_emit (GTK_OBJECT (shell_component), signals[OWNER_SET], priv->owner_client, evolution_homedir); } } @@ -371,9 +372,9 @@ class_init (EvolutionShellComponentClass *klass) GTK_RUN_FIRST, object_class->type, GTK_SIGNAL_OFFSET (EvolutionShellComponentClass, owner_set), - gtk_marshal_NONE__POINTER, - GTK_TYPE_NONE, 1, - GTK_TYPE_POINTER); + gtk_marshal_NONE__POINTER_POINTER, + GTK_TYPE_NONE, 2, + GTK_TYPE_POINTER, GTK_TYPE_POINTER); signals[OWNER_UNSET] = gtk_signal_new ("owner_unset", |