+2005-10-03 [paul] 1.9.14cvs66
+
+ * src/main.c
+ fix crash in IMAP caused by discrepancy
+ between check_at_startup and offline mode
+ Patch by Colin
+
2005-10-01 [paul] 1.9.14cvs65
* src/inc.c
( cvs diff -u -r 1.60.2.32 -r 1.60.2.33 src/addressbook.c; cvs diff -u -r 1.65.2.40 -r 1.65.2.41 src/codeconv.c; cvs diff -u -r 1.1.4.13 -r 1.1.4.14 src/common/xml.c; cvs diff -u -r 1.1.2.9 -r 1.1.2.10 src/plugins/pgpcore/sgpgme.c; ) > 1.9.14cvs63.patchset
( cvs diff -u -r 1.8.2.9 -r 1.8.2.10 src/export.c; cvs diff -u -r 1.13.2.9 -r 1.13.2.10 src/import.c; cvs diff -u -r 1.28.2.9 -r 1.28.2.10 src/mbox.c; ) > 1.9.14cvs64.patchset
( cvs diff -u -r 1.149.2.34 -r 1.149.2.35 src/inc.c; ) > 1.9.14cvs65.patchset
+( cvs diff -u -r 1.115.2.55 -r 1.115.2.56 src/main.c; ) > 1.9.14cvs66.patchset
usleep(50000);
}
+gboolean defer_check_all(void *data)
+{
+ gboolean autochk = GPOINTER_TO_INT(data);
+
+ inc_all_account_mail(static_mainwindow, autochk,
+ prefs_common.newmail_notify_manu);
+
+ return FALSE;
+}
+
+gboolean defer_check(void *data)
+{
+ inc_mail(static_mainwindow, prefs_common.newmail_notify_manu);
+
+ return FALSE;
+}
+
int main(int argc, char *argv[])
{
gchar *userrc;
#endif
if (cmd.receive_all)
- inc_all_account_mail(mainwin, FALSE,
- prefs_common.newmail_notify_manu);
+ g_timeout_add(1000, defer_check_all, GINT_TO_POINTER(FALSE));
else if (prefs_common.chk_on_startup)
- inc_all_account_mail(mainwin, TRUE,
- prefs_common.newmail_notify_manu);
+ g_timeout_add(1000, defer_check_all, GINT_TO_POINTER(TRUE));
else if (cmd.receive)
- inc_mail(mainwin, prefs_common.newmail_notify_manu);
+ g_timeout_add(1000, defer_check, NULL);
else
gtk_widget_grab_focus(folderview->ctree);