diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-05-23 00:12:00 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-05-23 00:12:00 +0800 |
commit | e7ad5d121bca3ba68221582ea56b0feed8b7881e (patch) | |
tree | 400470af8fbe180684ccd065e68f061a7eebfd8d /shell/evolution-shell-component-client.c | |
parent | f4d6507475e46a353a831c8161b58d3cef9adfb0 (diff) | |
download | gsoc2013-evolution-e7ad5d121bca3ba68221582ea56b0feed8b7881e.tar gsoc2013-evolution-e7ad5d121bca3ba68221582ea56b0feed8b7881e.tar.gz gsoc2013-evolution-e7ad5d121bca3ba68221582ea56b0feed8b7881e.tar.bz2 gsoc2013-evolution-e7ad5d121bca3ba68221582ea56b0feed8b7881e.tar.lz gsoc2013-evolution-e7ad5d121bca3ba68221582ea56b0feed8b7881e.tar.xz gsoc2013-evolution-e7ad5d121bca3ba68221582ea56b0feed8b7881e.tar.zst gsoc2013-evolution-e7ad5d121bca3ba68221582ea56b0feed8b7881e.zip |
Only refuse quitting if the result is CANCEL. This way we allow quitting
* e-shell.c (e_shell_prepare_for_quit): Only refuse quitting if
the result is CANCEL. This way we allow quitting if one of the
components has crashed or something else otherwise goes wrong.
Fixes #25093.
* evolution-shell-component-client.c
(result_from_async_corba_result): Handle
GNOME_Evolution_ShellComponentListener_CANCEL.
svn path=/trunk/; revision=16974
Diffstat (limited to 'shell/evolution-shell-component-client.c')
-rw-r--r-- | shell/evolution-shell-component-client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/evolution-shell-component-client.c b/shell/evolution-shell-component-client.c index 7b8051e0c1..6d97c6e241 100644 --- a/shell/evolution-shell-component-client.c +++ b/shell/evolution-shell-component-client.c @@ -159,6 +159,8 @@ result_from_async_corba_result (GNOME_Evolution_ShellComponentListener_Result as switch (async_corba_result) { case GNOME_Evolution_ShellComponentListener_OK: return EVOLUTION_SHELL_COMPONENT_OK; + case GNOME_Evolution_ShellComponentListener_CANCEL: + return EVOLUTION_SHELL_COMPONENT_CANCEL; case GNOME_Evolution_ShellComponentListener_UNSUPPORTED_OPERATION: return EVOLUTION_SHELL_COMPONENT_UNSUPPORTEDOPERATION; case GNOME_Evolution_ShellComponentListener_EXISTS: |