From eec4b19f682dc36d0dcafd63b6058b979a98a1fc Mon Sep 17 00:00:00 2001 From: Alberto Garcia Date: Wed, 28 Nov 2007 10:28:10 +0000 Subject: [PATCH 1/1] Update all accounts after they have been modified, no matter their status Fixes NB#73627 pmo-trunk-r3832 --- src/modest-tny-account-store.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/modest-tny-account-store.c b/src/modest-tny-account-store.c index 5edaf83..9ed5db9 100644 --- a/src/modest-tny-account-store.c +++ b/src/modest-tny-account-store.c @@ -473,15 +473,10 @@ on_account_changed (ModestAccountMgr *acc_mgr, TnyAccount *tny_account; tny_account = TNY_ACCOUNT (tny_iterator_get_current (iter)); if (tny_account) { - TnyConnectionStatus conn_status = tny_account_get_connection_status (tny_account); - - if (conn_status != TNY_CONNECTION_STATUS_RECONNECTING && - conn_status != TNY_CONNECTION_STATUS_INIT) { - if (!strcmp (tny_account_get_id (tny_account), account_name)) { - found = TRUE; - modest_tny_account_update_from_account (tny_account); - g_signal_emit (G_OBJECT(self), signals[ACCOUNT_CHANGED_SIGNAL], 0, tny_account); - } + if (!strcmp (tny_account_get_id (tny_account), account_name)) { + found = TRUE; + modest_tny_account_update_from_account (tny_account); + g_signal_emit (G_OBJECT(self), signals[ACCOUNT_CHANGED_SIGNAL], 0, tny_account); } g_object_unref (tny_account); } -- 1.7.9.5