diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-10-09 18:32:21 +0000 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-10-09 18:32:21 +0000 |
commit | e8f5d333c620320a3f129f4c44eab46aeea45514 (patch) | |
tree | fcadf7ea1a2831d726f09d5640d9316aaa0c55e4 | |
parent | cb6225fad799cb89b0b231b5c913af7df407a815 (diff) | |
download | evolution-data-server-evolution-1-1-2-branch.tar.gz |
If the response from the IMAP server is "No", don't set theEVOLUTION_1_1_2evolution-1-1-2-branch
2002-10-08 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-command.c (imap_read_response): If the
response from the IMAP server is "No", don't set the
SERVICE_UNAVAILABLE exception, this makes error reporting in the
UI for deleting IMAP folders that cannot be deleted inaccurate
(ie, it reports "Cannot delete in offline mode" which is not the
problem).
-rw-r--r-- | camel/ChangeLog | 9 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-command.c | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 1290a4c34..1ae2752e7 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,12 @@ +2002-10-08 Jeffrey Stedfast <fejj@ximian.com> + + * providers/imap/camel-imap-command.c (imap_read_response): If the + response from the IMAP server is "No", don't set the + SERVICE_UNAVAILABLE exception, this makes error reporting in the + UI for deleting IMAP folders that cannot be deleted inaccurate + (ie, it reports "Cannot delete in offline mode" which is not the + problem). + 2002-10-07 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #31752 diff --git a/camel/providers/imap/camel-imap-command.c b/camel/providers/imap/camel-imap-command.c index f12a4a55f..13a472f5b 100644 --- a/camel/providers/imap/camel-imap-command.c +++ b/camel/providers/imap/camel-imap-command.c @@ -401,7 +401,7 @@ imap_read_response (CamelImapStore *store, CamelException *ex) p += 3; if (!*p++) p = NULL; - camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_UNAVAILABLE, + camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM, _("IMAP command failed: %s"), p ? p : _("Unknown error")); camel_imap_response_free_without_processing (store, response); |