aboutsummaryrefslogtreecommitdiffstats
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
parent411d79d4882a877a536bdd387939e3347080fdd5 (diff)
downloadgsoc2013-evolution-f61048ada10e1715b218e25989e7e4f77630cf89.tar
gsoc2013-evolution-f61048ada10e1715b218e25989e7e4f77630cf89.tar.gz
gsoc2013-evolution-f61048ada10e1715b218e25989e7e4f77630cf89.tar.bz2
gsoc2013-evolution-f61048ada10e1715b218e25989e7e4f77630cf89.tar.lz
gsoc2013-evolution-f61048ada10e1715b218e25989e7e4f77630cf89.tar.xz
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
-rw-r--r--shell/ChangeLog7
-rw-r--r--shell/evolution-shell-component.c13
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;