From ab6e05fbe2c1c065e73c7166e1967564d7ded800 Mon Sep 17 00:00:00 2001 From: "scott%scott-macgregor.org" Date: Tue, 6 Jan 2004 20:30:07 +0000 Subject: [PATCH] Add (currently unused) prefs for controlling mark as read in mail on a timer. Part of Bug #75866 git-svn-id: svn://10.0.0.236/trunk@150936 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mailnews/mailnews.js | 4 ++++ mozilla/modules/libpref/src/init/mailnews.js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/mozilla/mailnews/mailnews.js b/mozilla/mailnews/mailnews.js index 469d13f90aa..6ce7b175d95 100644 --- a/mozilla/mailnews/mailnews.js +++ b/mozilla/mailnews/mailnews.js @@ -547,6 +547,10 @@ pref("mail.compose.add_undisclosed_recipients", true); pref("mail.purge.min_delay",480); pref("mail.purge.timer_interval",5); +// set to true if viewing a message should mark it as read only if the msg is viewed for a specified time interval in seconds +pref("mailnews.mark_message_read.delay", false); +pref("mailnews.mark_message_read.delay.interval", 5); // measured in seconds + // require a password before showing imap or local headers in thread pane pref("mail.password_protect_local_cache", false); // to reduce forking in the js / C++ diff --git a/mozilla/modules/libpref/src/init/mailnews.js b/mozilla/modules/libpref/src/init/mailnews.js index 469d13f90aa..6ce7b175d95 100644 --- a/mozilla/modules/libpref/src/init/mailnews.js +++ b/mozilla/modules/libpref/src/init/mailnews.js @@ -547,6 +547,10 @@ pref("mail.compose.add_undisclosed_recipients", true); pref("mail.purge.min_delay",480); pref("mail.purge.timer_interval",5); +// set to true if viewing a message should mark it as read only if the msg is viewed for a specified time interval in seconds +pref("mailnews.mark_message_read.delay", false); +pref("mailnews.mark_message_read.delay.interval", 5); // measured in seconds + // require a password before showing imap or local headers in thread pane pref("mail.password_protect_local_cache", false); // to reduce forking in the js / C++