[balsa] Manage sensitivity of the mail-check action



commit 3f0da969a99edccf4e9d1528099be19f7e99d309
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Thu Dec 10 16:41:07 2009 -0500

    Manage sensitivity of the mail-check action

 ChangeLog       |    6 ++++++
 src/balsa-app.c |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 932fd2f..ab4caa5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-12-10  Peter Bloomfield
+
+	* src/balsa-app.c (check_new_messages_auto_cb): pass
+	balsa_app.main_window instead of NULL to check_new_messages_real,
+	so we can manage the sensitivity of the check action.
+
 2009-12-08  Peter Bloomfield
 
 	* src/sendmsg-window.c (guess_identity_from_list): do not pass
diff --git a/src/balsa-app.c b/src/balsa-app.c
index a230b1e..11ea18f 100644
--- a/src/balsa-app.c
+++ b/src/balsa-app.c
@@ -474,7 +474,7 @@ balsa_app_destroy(void)
 static gint
 check_new_messages_auto_cb(gpointer data)
 {
-    check_new_messages_real(data, TYPE_BACKGROUND);
+    check_new_messages_real(balsa_app.main_window, TYPE_BACKGROUND);
 
     if (balsa_app.debug)
         fprintf(stderr, "Auto-checked for new messages...\n");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]