aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-shell-component.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-06-28 07:44:36 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-06-28 07:44:36 +0800
commitf61048ada10e1715b218e25989e7e4f77630cf89 (patch)
tree4a6fd96dbb97be999a8d0e0093ce51556a461411 /shell/evolution-shell-component.c
parent411d79d4882a877a536bdd387939e3347080fdd5 (diff)
downloadgsoc2013-evolution-f61048ada10e1715b218e25989e7e4f77630cf89.tar.gz
gsoc2013-evolution-f61048ada10e1715b218e25989e7e4f77630cf89.tar.zst
gsoc2013-evolution-f61048ada10e1715b218e25989e7e4f77630cf89.zip
Get EvolutionShellComponent to emit a "handle_external_uri" when it
gets an handleExternalURI CORBA invokation. svn path=/trunk/; revision=10550
Diffstat (limited to 'shell/evolution-shell-component.c')
-rw-r--r--shell/evolution-shell-component.c13
1 files changed, 13 insertions, 0 deletions
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;