~ubuntu-branches/ubuntu/natty/evolution-exchange/natty

« back to all changes in this revision

Viewing changes to camel/camel-exchange-store.c

  • Committer: Bazaar Package Importer
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2011-01-24 12:43:25 UTC
  • Revision ID: james.westby@ubuntu.com-20110124124325-wi3d3os123cla45s
Tags: 2.32.1-0ubuntu2
* debian/patches/95_cherrypick-312a3d0_to_877fbb1.patch: Cherry-pick commits
  9ad860d to 877fbb1:
  - Bug #638241 - Renaming folder always fails
  - Bug #639123 - Incorrect unref of ExchangeAccount in EBookBackendExchange
  - Bug #625570 - Do not free ExchangeFolder on error
  - Bug #634573 - Crash when importing ics file

Show diffs side-by-side

added added

removed removed

Lines of Context:
628
628
 
629
629
        CamelExchangeStore *exch = CAMEL_EXCHANGE_STORE (store);
630
630
 
631
 
        if (!camel_exchange_store_connected (exch, NULL))
 
631
        if (!camel_exchange_store_connected (exch, NULL)) {
632
632
                g_set_error (
633
633
                        error, CAMEL_ERROR, CAMEL_ERROR_GENERIC,
634
634
                        _("Cannot rename folder in offline mode."));
635
635
                return FALSE;
 
636
        }
636
637
 
637
638
        if (!camel_exchange_utils_rename_folder (
638
639
                CAMEL_SERVICE (store), old_name, new_name,