diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-05-02 04:59:58 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-05-02 04:59:58 +0000 |
commit | 35cbfb31857c2d26b9050e4f3bc6112400cb0dfc (patch) | |
tree | 40abc55254bdf17b1b7caeca092c6928abb4de04 /src/mainwindow.c | |
parent | 1b55a7f5a4e04628b56f9da7db112a9f5373b33b (diff) |
loosen up queue/draft check on mail check is running.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3071 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r-- | src/mainwindow.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c index 6a1dfda7..f64677fe 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -1859,6 +1859,8 @@ void main_window_send_queue(MainWindow *mainwin) { GList *list; + if (inc_is_active()) + return; if (!main_window_toggle_online_if_offline(mainwin)) return; @@ -2011,7 +2013,8 @@ void main_window_set_toolbar_sensitive(MainWindow *mainwin) SET_WIDGET_COND(mainwin->getall_btn, M_HAVE_ACCOUNT|M_UNLOCKED); SET_WIDGET_COND(mainwin->rpop3_btn, M_HAVE_ACCOUNT|M_UNLOCKED|M_POP3_ACCOUNT); - SET_WIDGET_COND(mainwin->send_btn, M_HAVE_ACCOUNT|M_HAVE_QUEUED_MSG); + SET_WIDGET_COND(mainwin->send_btn, + M_HAVE_ACCOUNT|M_UNLOCKED|M_HAVE_QUEUED_MSG); SET_WIDGET_COND(mainwin->compose_btn, M_HAVE_ACCOUNT); SET_WIDGET_COND(mainwin->reply_btn, M_HAVE_ACCOUNT|M_SINGLE_TARGET_EXIST); @@ -2165,7 +2168,7 @@ void main_window_set_menu_sensitive(MainWindow *mainwin) , M_INC_ACTIVE}, {"/Message/Receive/Remote mailbox..." , M_HAVE_ACCOUNT|M_UNLOCKED|M_POP3_ACCOUNT}, - {"/Message/Send queued messages" , M_HAVE_ACCOUNT|M_HAVE_QUEUED_MSG}, + {"/Message/Send queued messages" , M_HAVE_ACCOUNT|M_UNLOCKED|M_HAVE_QUEUED_MSG}, {"/Message/Compose new message" , M_HAVE_ACCOUNT}, {"/Message/Reply" , M_HAVE_ACCOUNT|M_SINGLE_TARGET_EXIST}, |