diff options
author | Jason Leach <jleach@ximian.com> | 2001-07-11 05:08:02 +0800 |
---|---|---|
committer | Jacob Leach <jleach@src.gnome.org> | 2001-07-11 05:08:02 +0800 |
commit | 2864edc6325ba994179b35b6a40d9d053e8805d8 (patch) | |
tree | 0186cc996d68660c1f8e0e0e28c78939c886f9ff /mail/mail-config.h | |
parent | b2716b04c952a71d385a07c32c36269024a57ea4 (diff) | |
download | gsoc2013-evolution-2864edc6325ba994179b35b6a40d9d053e8805d8.tar.gz 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/mail-config.h')
-rw-r--r-- | mail/mail-config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/mail-config.h b/mail/mail-config.h index 0d012ec046..365d97a7af 100644 --- a/mail/mail-config.h +++ b/mail/mail-config.h @@ -130,6 +130,9 @@ void mail_config_set_citation_highlight (gboolean); guint32 mail_config_get_citation_color (void); void mail_config_set_citation_color (guint32); +gint mail_config_get_do_seen_timeout (void); +void mail_config_set_do_seen_timeout (gboolean do_seen_timeout); + gint mail_config_get_mark_as_seen_timeout (void); void mail_config_set_mark_as_seen_timeout (gint timeout); |