[balsa] Restart timer after user checks mail manually
- From: Peter Bloomfield <PeterB src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [balsa] Restart timer after user checks mail manually
- Date: Mon, 18 Jan 2010 01:00:54 +0000 (UTC)
commit 995785c958925df9baa05586b0776cd30b94f570
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Sun Jan 17 20:00:04 2010 -0500
Restart timer after user checks mail manually
* src/main-window.c: restart timer after user checks mail
manually.
ChangeLog | 5 +++++
src/main-window.c | 5 +++++
2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3dbde4d..b9340b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2010-01-17 Peter Bloomfield
+ * src/main-window.c: restart timer after user checks mail
+ manually.
+
+2010-01-17 Peter Bloomfield
+
* src/balsa-app.c (update_timer): use g_timeout_add_seconds,
save the world.
diff --git a/src/main-window.c b/src/main-window.c
index b812925..474eafd 100644
--- a/src/main-window.c
+++ b/src/main-window.c
@@ -2917,6 +2917,11 @@ void
check_new_messages_cb(GtkAction * action, gpointer data)
{
check_new_messages_real(data, TYPE_CALLBACK);
+
+ if (balsa_app.check_mail_auto) {
+ /* restart the timer */
+ update_timer(TRUE, balsa_app.check_mail_timer);
+ }
}
/** Saves the number of messages as the most recent one the user is
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]