projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcc952a
)
* Do not emit account_changed when the value that has changed is last_updated. This...
author
Sergio Villar Senin
<svillar@igalia.com>
Tue, 29 May 2007 10:38:22 +0000
(10:38 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Tue, 29 May 2007 10:38:22 +0000
(10:38 +0000)
pmo-trunk-r1985
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
d2ecec6
..
79717d3
100644
(file)
--- a/
src/modest-tny-account-store.c
+++ b/
src/modest-tny-account-store.c
@@
-254,6
+254,10
@@
on_account_changed (ModestAccountMgr *acc_mgr, const gchar *account,
ModestTnyAccountStore *self = MODEST_TNY_ACCOUNT_STORE(user_data);
ModestTnyAccountStorePrivate *priv = MODEST_TNY_ACCOUNT_STORE_GET_PRIVATE(self);
+ /* Ignore the change if it's a change in the last_updated value */
+ if (g_str_has_suffix (key, MODEST_ACCOUNT_LAST_UPDATED))
+ return;
+
/* FIXME: make this more finegrained; changes do not really affect _all_
* accounts, and some do not affect tny accounts at all (such as 'last_update')
*/