diff options
-rw-r--r-- | shell/ChangeLog | 7 | ||||
-rw-r--r-- | shell/evolution-shell-component.c | 13 |
2 files changed, 20 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 262090fd6f..5893756bb0 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,5 +1,12 @@ 2001-06-27 Ettore Perazzoli <ettore@ximian.com> + * evolution-shell-component.c (impl_handleExternalURI): + Implementation for the `::handleExternalURI' CORBA method; just + emit the `HANDLE_EXTERNAL_URI' signal. + (class_init): Install. + +2001-06-27 Ettore Perazzoli <ettore@ximian.com> + * evolution-shell-component.c (impl_setOwner): Renamed from `impl_ShellComponent_set_owner'. (impl_unsetOwner): Renamed from `impl_ShellComponent_unset_owner'. diff --git a/shell/evolution-shell-component.c b/shell/evolution-shell-component.c index 1257c493e0..f9fd35a9f2 100644 --- a/shell/evolution-shell-component.c +++ b/shell/evolution-shell-component.c @@ -328,6 +328,18 @@ impl_createView (PortableServer_Servant servant, } static void +impl_handleExternalURI (PortableServer_Servant servant, + const CORBA_char *uri, + CORBA_Environment *ev) +{ + EvolutionShellComponent *shell_component; + + shell_component = EVOLUTION_SHELL_COMPONENT (bonobo_object_from_servant (servant)); + + gtk_signal_emit (GTK_OBJECT (shell_component), signals[HANDLE_EXTERNAL_URI], uri); +} + +static void impl_createFolderAsync (PortableServer_Servant servant, const GNOME_Evolution_ShellComponentListener listener, const CORBA_char *physical_uri, @@ -534,6 +546,7 @@ class_init (EvolutionShellComponentClass *klass) epv->unsetOwner = impl_unsetOwner; epv->debug = impl_debug; epv->createView = impl_createView; + epv->handleExternalURI = impl_handleExternalURI; epv->createFolderAsync = impl_createFolderAsync; epv->removeFolderAsync = impl_removeFolderAsync; epv->xferFolderAsync = impl_xferFolderAsync; |