aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
authorJason Leach <jleach@ximian.com>2001-07-11 05:08:02 +0800
committerJacob Leach <jleach@src.gnome.org>2001-07-11 05:08:02 +0800
commit2864edc6325ba994179b35b6a40d9d053e8805d8 (patch)
tree0186cc996d68660c1f8e0e0e28c78939c886f9ff /mail/folder-browser.c
parentb2716b04c952a71d385a07c32c36269024a57ea4 (diff)
downloadgsoc2013-evolution-2864edc6325ba994179b35b6a40d9d053e8805d8.tar
gsoc2013-evolution-2864edc6325ba994179b35b6a40d9d053e8805d8.tar.gz
gsoc2013-evolution-2864edc6325ba994179b35b6a40d9d053e8805d8.tar.bz2
gsoc2013-evolution-2864edc6325ba994179b35b6a40d9d053e8805d8.tar.lz
gsoc2013-evolution-2864edc6325ba994179b35b6a40d9d053e8805d8.tar.xz
gsoc2013-evolution-2864edc6325ba994179b35b6a40d9d053e8805d8.tar.zst
gsoc2013-evolution-2864edc6325ba994179b35b6a40d9d053e8805d8.zip
[Bug #4305: Make the automatic mark-as-read timer optional]
2001-07-10 Jason Leach <jleach@ximian.com> [Bug #4305: Make the automatic mark-as-read timer optional] * mail-config.glade: Necessary changes to make the Mark as "Read" label a toggle button instead. * mail-accounts.c (construct): Connect to the "toggled" on our new toggle. (timeout_toggled): New callback, called from above. * mail-config.c (mail_config_get_do_seen_timeout): New. (mail_config_set_do_seen_timeout): New. (mail_config_write_on_exit): Save the preference here. (config_read): Load it here. svn path=/trunk/; revision=10973
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 2afbe445f5..c682b850d6 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -1693,7 +1693,7 @@ done_message_selected (CamelFolder *folder, char *uid, CamelMimeMessage *msg, vo
if (fb->seen_id)
gtk_timeout_remove(fb->seen_id);
- if (msg) {
+ if (mail_config_get_do_seen_timeout() && msg) {
if (timeout > 0)
fb->seen_id = gtk_timeout_add(timeout, do_mark_seen, fb);
else