From b36809d0b836c0d7816952c97fd26c6d50398f1a Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 5 Oct 2001 19:49:21 +0000 Subject: Handle the return value from * e-shell.c (impl_Shell_handleURI): Handle the return value from `evolution_shell_component_client_handle_external_uri()' as an EvolutionShellComponentClientResult instead of treating it as a boolean. This prevents the incorrect NotFound exceptions we were getting for `mailto:' invocations. svn path=/trunk/; revision=13460 --- shell/e-shell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shell/e-shell.c') diff --git a/shell/e-shell.c b/shell/e-shell.c index bafe7ea2d5..65a469bcf2 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -348,7 +348,8 @@ impl_Shell_handleURI (PortableServer_Servant servant, return; } - if (! evolution_shell_component_client_handle_external_uri (schema_handler, uri)) { + if (evolution_shell_component_client_handle_external_uri (schema_handler, uri) + != EVOLUTION_SHELL_COMPONENT_OK) { /* FIXME: Just a wild guess here. */ CORBA_exception_set (ev, CORBA_USER_EXCEPTION, ex_GNOME_Evolution_Shell_NotFound, NULL); -- cgit v1.2.3