diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-10-06 03:49:21 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-10-06 03:49:21 +0800 |
commit | b36809d0b836c0d7816952c97fd26c6d50398f1a (patch) | |
tree | c5888313634e4abf4ccd0f93fddb9333f3d59598 /shell | |
parent | b6c919243e98e9a509018e2cec0fff62d945be7d (diff) | |
download | gsoc2013-evolution-b36809d0b836c0d7816952c97fd26c6d50398f1a.tar gsoc2013-evolution-b36809d0b836c0d7816952c97fd26c6d50398f1a.tar.gz gsoc2013-evolution-b36809d0b836c0d7816952c97fd26c6d50398f1a.tar.bz2 gsoc2013-evolution-b36809d0b836c0d7816952c97fd26c6d50398f1a.tar.lz gsoc2013-evolution-b36809d0b836c0d7816952c97fd26c6d50398f1a.tar.xz gsoc2013-evolution-b36809d0b836c0d7816952c97fd26c6d50398f1a.tar.zst gsoc2013-evolution-b36809d0b836c0d7816952c97fd26c6d50398f1a.zip |
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
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 8 | ||||
-rw-r--r-- | shell/e-shell.c | 3 |
2 files changed, 10 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 00c4cf0d92..be73a62d09 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,5 +1,13 @@ 2001-10-05 Ettore Perazzoli <ettore@ximian.com> + * 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. + +2001-10-05 Ettore Perazzoli <ettore@ximian.com> + * main.c (quit_box_new): Also `gdk_flush()'. (idle_cb): If the user doesn't specify at least one `evolution:' URI, restore from the settings. [Fixes #6093.] 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); |