aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-Shell.idl
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-08-03 22:27:44 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-08-03 22:27:44 +0800
commit0039ef5422e980484c47d2fe97c3edbf63edd5b8 (patch)
treebdc0ba031ab17a176fe758f43c7a12f508fdced5 /shell/Evolution-Shell.idl
parentb5c3ca3079407391e099eea277f37ad45e5866d7 (diff)
downloadgsoc2013-evolution-0039ef5422e980484c47d2fe97c3edbf63edd5b8.tar.gz
gsoc2013-evolution-0039ef5422e980484c47d2fe97c3edbf63edd5b8.tar.zst
gsoc2013-evolution-0039ef5422e980484c47d2fe97c3edbf63edd5b8.zip
[Fix #6232, the thirty-four-splash-screens-at-startup bug.]
* e-shell.c (setup_local_storage): Add an E_STORAGE() cast to prevent a warning. * main.c (idle_cb): Only try to activate from the shell ID if the result is `E_SHELL_CONSTRUCT_RESULT_CANNOTREGISTER'; if there is a different error, spit out a dialog box with a description of it and exit instead. * e-shell.c (e_shell_construct): Return an `EShellConstructResult' describing what kind of result we had. Show the splash after the DB has been reached, not before. (e_shell_construct_result_to_string): New function to get a descriptive string out of an `EShellConstructResult'. (e_shell_new): New arg @construct_result_return to return a description of the result of the operation. * e-shell.h: New enum `EShellConstructResult'. * e-shell.c (impl_Shell_createNewView): Raise `InternalError' instead of crashing if the shell_view returns a CORBA_OBJECT_NIL. * Evolution-Shell.idl: New exception `InternalError'. `createNewView' and `handleURI' can raise it. svn path=/trunk/; revision=11611
Diffstat (limited to 'shell/Evolution-Shell.idl')
-rw-r--r--shell/Evolution-Shell.idl5
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/Evolution-Shell.idl b/shell/Evolution-Shell.idl
index 0426c037b0..b99f49abab 100644
--- a/shell/Evolution-Shell.idl
+++ b/shell/Evolution-Shell.idl
@@ -20,6 +20,7 @@ module Evolution {
exception NotFound {};
exception UnsupportedSchema {};
exception InvalidURI {};
+ exception InternalError {};
exception Busy {};
typedef sequence<string> FolderTypeNameList;
@@ -43,7 +44,7 @@ module Evolution {
* Return value: the new view.
*/
ShellView createNewView (in string uri)
- raises (NotFound, UnsupportedSchema, InvalidURI);
+ raises (NotFound, UnsupportedSchema, InvalidURI, InternalError);
/**
* handleURI:
@@ -55,7 +56,7 @@ module Evolution {
* the message composer.)
*/
void handleURI (in string uri)
- raises (NotFound, UnsupportedSchema, InvalidURI);
+ raises (NotFound, UnsupportedSchema, InvalidURI, InternalError);
/**
* selectUserFolder: