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