diff options
author | Milan Crha <mcrha@redhat.com> | 2011-12-19 21:20:49 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-12-19 21:20:49 +0800 |
commit | 83565040a769ece99c736aa382e8c9035997a72c (patch) | |
tree | c54af736cba8f569b15191722e63ecebd3970b43 /mail | |
parent | 9cb76109646c7b578376616079656a0638986362 (diff) | |
download | gsoc2013-evolution-83565040a769ece99c736aa382e8c9035997a72c.tar.gz gsoc2013-evolution-83565040a769ece99c736aa382e8c9035997a72c.tar.zst gsoc2013-evolution-83565040a769ece99c736aa382e8c9035997a72c.zip |
Bug #666512 - Busy-loop after pressing Send/Receive toolbar button
Diffstat (limited to 'mail')
-rw-r--r-- | mail/e-mail-account-store.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/mail/e-mail-account-store.c b/mail/e-mail-account-store.c index 38f83116aa..c3d62070e0 100644 --- a/mail/e-mail-account-store.c +++ b/mail/e-mail-account-store.c @@ -1241,13 +1241,12 @@ e_mail_account_store_queue_enabled_services (EMailAccountStore *store, enabled = g_value_get_boolean (&value); g_value_unset (&value); - if (!enabled) - continue; - - column = E_MAIL_ACCOUNT_STORE_COLUMN_SERVICE; - gtk_tree_model_get_value (tree_model, &iter, column, &value); - g_queue_push_tail (out_queue, g_value_get_object (&value)); - g_value_unset (&value); + if (enabled) { + column = E_MAIL_ACCOUNT_STORE_COLUMN_SERVICE; + gtk_tree_model_get_value (tree_model, &iter, column, &value); + g_queue_push_tail (out_queue, g_value_get_object (&value)); + g_value_unset (&value); + } iter_set = gtk_tree_model_iter_next (tree_model, &iter); } |