[evolution-exchange] Bug #638241 - Renaming folder always fails
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-exchange] Bug #638241 - Renaming folder always fails
- Date: Tue, 18 Jan 2011 13:04:51 +0000 (UTC)
commit 4f5622eecffef65022c16c0336b039e47e4c6621
Author: Milan Crha <mcrha redhat com>
Date: Tue Jan 18 14:03:41 2011 +0100
Bug #638241 - Renaming folder always fails
camel/camel-exchange-store.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-exchange-store.c b/camel/camel-exchange-store.c
index 046dcca..4ccc2a7 100644
--- a/camel/camel-exchange-store.c
+++ b/camel/camel-exchange-store.c
@@ -672,11 +672,12 @@ exchange_store_rename_folder_sync (CamelStore *store,
CamelExchangeStore *exch = CAMEL_EXCHANGE_STORE (store);
- if (!camel_exchange_store_connected (exch, cancellable, NULL))
+ if (!camel_exchange_store_connected (exch, cancellable, NULL)) {
g_set_error (
error, CAMEL_ERROR, CAMEL_ERROR_GENERIC,
_("Cannot rename folder in offline mode."));
return FALSE;
+ }
if (!camel_exchange_utils_rename_folder (
CAMEL_SERVICE (store), old_name, new_name,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]