projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d8de27f
)
* Fixes NB#81095, UI is now properly updated when deleting an account while retrievi...
author
Sergio Villar Senin
<svillar@igalia.com>
Tue, 26 Feb 2008 17:37:43 +0000
(17:37 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Tue, 26 Feb 2008 17:37:43 +0000
(17:37 +0000)
pmo-trunk-r4230
src/modest-tny-account-store.c
patch
|
blob
|
history
diff --git
a/src/modest-tny-account-store.c
b/src/modest-tny-account-store.c
index
34af16e
..
e0cd50b
100644
(file)
--- a/
src/modest-tny-account-store.c
+++ b/
src/modest-tny-account-store.c
@@
-1643,6
+1643,9
@@
on_account_disconnect_when_removing (TnyCamelAccount *account,
/* Unref the extra reference added by get_server_account */
g_object_unref (account);
+ /* Cancel all pending operations */
+ tny_account_cancel (TNY_ACCOUNT (account));
+
/* Clear the cache if it's an store account */
if (TNY_IS_STORE_ACCOUNT (account))
tny_store_account_delete_cache (TNY_STORE_ACCOUNT (account));