2006-08-21 [colin] 2.4.0cvs67
[claws.git] / src / mainwindow.c
index cd62b9cc0e1d0ecf5b95cfe26a5ee4fa859b7cd8..d974cca8648968ba121560d91435b200ffe278f6 100644 (file)
@@ -2159,7 +2159,7 @@ void main_window_set_menu_sensitive(MainWindow *mainwin)
                                                 , M_HAVE_ACCOUNT|M_UNLOCKED},
                {"/Message/Receive/Cancel receiving"
                                                 , M_INC_ACTIVE},
-
+               {"/Message/Send queued messages"  , M_HAVE_ACCOUNT|M_HAVE_QUEUED_MAILS},
                {"/Message/Compose a news message", M_HAVE_NEWS_ACCOUNT},
                {"/Message/Reply"                 , M_HAVE_ACCOUNT|M_TARGET_EXIST},
                {"/Message/Reply to"              , M_HAVE_ACCOUNT|M_TARGET_EXIST},
@@ -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 */