aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-Component.idl
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-05-12 11:33:51 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-05-12 11:33:51 +0800
commit2cf63ca4bace1165d5f0385f4d0dbcce83269775 (patch)
tree3c68cb544d8d2bc4f813324ed65a12db349cbcb3 /shell/Evolution-Component.idl
parentc31e31f1fd019ac4297d840761026e64ea6a0adf (diff)
downloadgsoc2013-evolution-2cf63ca4bace1165d5f0385f4d0dbcce83269775.tar
gsoc2013-evolution-2cf63ca4bace1165d5f0385f4d0dbcce83269775.tar.gz
gsoc2013-evolution-2cf63ca4bace1165d5f0385f4d0dbcce83269775.tar.bz2
gsoc2013-evolution-2cf63ca4bace1165d5f0385f4d0dbcce83269775.tar.lz
gsoc2013-evolution-2cf63ca4bace1165d5f0385f4d0dbcce83269775.tar.xz
gsoc2013-evolution-2cf63ca4bace1165d5f0385f4d0dbcce83269775.tar.zst
gsoc2013-evolution-2cf63ca4bace1165d5f0385f4d0dbcce83269775.zip
add for translators.
2004-05-12 Not Zed <NotZed@Ximian.com> * shell-errors.xml.h: add for translators. 2004-05-11 Not Zed <NotZed@Ximian.com> * shell-errors.xml: Shell errors. * e-shell.c (e_shell_attempt_upgrade): handle exceptions better. allow the user to keep going or abort. stop as soon as something fails. Related to #53083. (attempt_upgrade): abort and quit if the subcall failed. it will display an appropriate error box. (attempt_upgrade): abort if we don't have enough space. #57290. * Evolution-Component.idl (upgradeFromVersion): remove the return code, use exceptions to indicate failure. svn path=/trunk/; revision=25869
Diffstat (limited to 'shell/Evolution-Component.idl')
-rw-r--r--shell/Evolution-Component.idl11
1 files changed, 9 insertions, 2 deletions
diff --git a/shell/Evolution-Component.idl b/shell/Evolution-Component.idl
index 69893387fc..f200680633 100644
--- a/shell/Evolution-Component.idl
+++ b/shell/Evolution-Component.idl
@@ -33,11 +33,18 @@ module Evolution {
interface Component : Bonobo::Unknown {
exception Failed {};
exception UnknownType {};
+ /* We don't know about the old version we're upgrading from */
+ exception UnsupportedVersion {};
+ /* We encountered a non-recoverable, fatal error, explain why */
+ exception UpgradeFailed {
+ string what;
+ string why;
+ };
/*** Upgrade path. ***/
- boolean upgradeFromVersion (in short major, in short minor, in short revision);
-
+ void upgradeFromVersion (in short major, in short minor, in short revision)
+ raises (UnsupportedVersion, UpgradeFailed);
/*** Basic functionality. ***/