{
GList *list, *list2 = NULL;
gboolean condition;
+ gboolean hide_dialog = FALSE;
debug_print("INC: inc_all_account_mail(), autocheck: %s\n",
autocheck ? "YES" : "NO");
/* Do the check on the collected accounts. */
if (list2 != NULL) {
- inc_account_list_mail(mainwin, list2, autocheck, notify);
+ if (autocheck || check_at_startup)
+ hide_dialog = TRUE;
+ inc_account_list_mail(mainwin, list2, hide_dialog, notify);
g_list_free(list2);
}
}
{
gboolean autochk = GPOINTER_TO_INT(data);
- inc_all_account_mail(static_mainwindow, autochk, FALSE,
+ if (!sc_starting) {
+ inc_all_account_mail(static_mainwindow, autochk, FALSE,
prefs_common.newmail_notify_manu);
- if (sc_starting) {
+ } else {
inc_all_account_mail(static_mainwindow, FALSE,
prefs_common.chk_on_startup,
prefs_common.newmail_notify_manu);