From 6ed4050d05c965e07dbc703890e3bcd171f315ce Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 30 Nov 2010 09:30:58 +0100 Subject: Add option "Check for new messages in all active accounts" As a follow-up for bug #633949 --- modules/mail/em-mailer-prefs.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'modules/mail/em-mailer-prefs.c') 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"); -- cgit