Only need to set "checking" state if we have pop or imap.
SVN revision: 24052
This commit is contained in:
parent
f207d87f74
commit
6ae4dd6e2e
|
@ -545,8 +545,6 @@ _mail_cb_check (void *data)
|
|||
if (!ci->boxes)
|
||||
return 1;
|
||||
|
||||
edje_object_signal_emit (inst->mail->mail_obj, "check_mail", "");
|
||||
|
||||
for (l = ci->boxes; l; l = l->next)
|
||||
{
|
||||
Config_Box *cb;
|
||||
|
@ -568,6 +566,10 @@ _mail_cb_check (void *data)
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if ((have_imap) || (have_pop))
|
||||
edje_object_signal_emit (inst->mail->mail_obj, "check_mail", "");
|
||||
|
||||
if (have_imap)
|
||||
_mail_imap_check_mail (inst);
|
||||
if (have_pop)
|
||||
|
|
Loading…
Reference in New Issue