diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-06-19 08:54:30 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-06-19 08:54:30 +0000 |
commit | a148c8534ad9eeec008134db45e4eb1bfbfdb587 (patch) | |
tree | d4b852a5d1e5d0a1c7ca4233f7fc509b848ae4e1 | |
parent | 89df5e1e15f6d188b452334a91f5a24b08647862 (diff) |
fixed 'Stop' button didn't become inactive after POP3 session finished.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3110 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/inc.c | 21 |
2 files changed, 17 insertions, 9 deletions
@@ -1,5 +1,10 @@ 2012-06-19 + * src/inc.c: fixed 'Stop' button didn't become inactive after POP3 + session finished. + +2012-06-19 + * libsylph/prefs_common.c: win32: changed the default of junk commands with sylfilter. @@ -293,9 +293,9 @@ void inc_mail(MainWindow *mainwin) if (prefs_common.use_extinc && prefs_common.extinc_cmd) { /* external incorporating program */ if (execute_command_line(prefs_common.extinc_cmd, FALSE) != 0) { + inc_is_running = FALSE; main_window_unlock(mainwin); inc_autocheck_timer_set(); - inc_is_running = FALSE; return; } @@ -318,10 +318,11 @@ void inc_mail(MainWindow *mainwin) inc_finished(mainwin, list); slist_free_strings(list); g_slist_free(list); - main_window_unlock(mainwin); - inc_autocheck_timer_set(); inc_is_running = FALSE; + + main_window_unlock(mainwin); + inc_autocheck_timer_set(); } static gint inc_remote_account_mail(MainWindow *mainwin, PrefsAccount *account) @@ -503,11 +504,12 @@ gint inc_account_mail(MainWindow *mainwin, PrefsAccount *account) inc_finished(mainwin, list); slist_free_strings(list); g_slist_free(list); - main_window_unlock(mainwin); - inc_autocheck_timer_set(); inc_is_running = FALSE; + main_window_unlock(mainwin); + inc_autocheck_timer_set(); + return new_msgs; } @@ -576,10 +578,11 @@ void inc_all_account_mail(MainWindow *mainwin, gboolean autocheck) inc_finished(mainwin, count_list); slist_free_strings(count_list); g_slist_free(count_list); - main_window_unlock(mainwin); - inc_autocheck_timer_set(); inc_is_running = FALSE; + + main_window_unlock(mainwin); + inc_autocheck_timer_set(); } gint inc_pop_before_smtp(PrefsAccount *account) @@ -617,11 +620,11 @@ gint inc_pop_before_smtp(PrefsAccount *account) inc_start(inc_dialog, NULL); + inc_is_running = FALSE; + main_window_unlock(mainwin); inc_autocheck_timer_set(); - inc_is_running = FALSE; - return 0; } |