2006-08-21 [colin] 2.4.0cvs67
[claws.git] / src / mainwindow.c
index 8c27cc4674ba3337808a98093a5fabadc2fcf7e8..d974cca8648968ba121560d91435b200ffe278f6 100644 (file)
@@ -3187,8 +3187,8 @@ static void online_switch_clicked (GtkButton *btn, gpointer data)
                /* go offline */
                if (prefs_common.work_offline)
                        return;
-               prefs_common.work_offline = TRUE;
                mainwindow_check_synchronise(mainwin, TRUE);
+               prefs_common.work_offline = TRUE;
                imap_disconnect_all();
        } else {
                /*go online */