diff options
author | Milan Crha <mcrha@redhat.com> | 2010-11-30 16:30:58 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:05 +0800 |
commit | fc91bfc86e3a58d97d7819dbbbda74a33d3f1c2a (patch) | |
tree | 53a3dcd94de897c4e51799405461a0b546afda8e /modules/mail/em-mailer-prefs.c | |
parent | 18b6c327835c614ab427d753247f9ffcb542b0cd (diff) | |
download | gsoc2013-evolution-fc91bfc86e3a58d97d7819dbbbda74a33d3f1c2a.tar gsoc2013-evolution-fc91bfc86e3a58d97d7819dbbbda74a33d3f1c2a.tar.gz gsoc2013-evolution-fc91bfc86e3a58d97d7819dbbbda74a33d3f1c2a.tar.bz2 gsoc2013-evolution-fc91bfc86e3a58d97d7819dbbbda74a33d3f1c2a.tar.lz gsoc2013-evolution-fc91bfc86e3a58d97d7819dbbbda74a33d3f1c2a.tar.xz gsoc2013-evolution-fc91bfc86e3a58d97d7819dbbbda74a33d3f1c2a.tar.zst gsoc2013-evolution-fc91bfc86e3a58d97d7819dbbbda74a33d3f1c2a.zip |
Add option "Check for new messages in all active accounts"
As a follow-up for bug #633949
Diffstat (limited to 'modules/mail/em-mailer-prefs.c')
-rw-r--r-- | modules/mail/em-mailer-prefs.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/mail/em-mailer-prefs.c b/modules/mail/em-mailer-prefs.c index 1913f8e388..267195bfbb 100644 --- a/modules/mail/em-mailer-prefs.c +++ b/modules/mail/em-mailer-prefs.c @@ -839,6 +839,18 @@ em_mailer_prefs_construct (EMMailerPrefs *prefs, G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE); + widget = e_builder_get_widget (prefs->builder, "chkCheckMailInAllOnStart"); + g_object_bind_property ( + shell_settings, "mail-check-all-on-start", + widget, "active", + G_BINDING_BIDIRECTIONAL | + G_BINDING_SYNC_CREATE); + g_object_bind_property ( + shell_settings, "mail-check-on-start", + widget, "sensitive", + G_BINDING_BIDIRECTIONAL | + G_BINDING_SYNC_CREATE); + /* Message Display */ widget = e_builder_get_widget (prefs->builder, "view-check"); |