diff options
author | Milan Crha <mcrha@redhat.com> | 2010-11-30 02:48:58 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:05 +0800 |
commit | e419261d1841fa38c0c41f5eaddd9b790ab85996 (patch) | |
tree | 6b091c8fc33450647ff711d1b5cec9f61fee4de3 /modules/mail/em-mailer-prefs.c | |
parent | 85fd7a2026a704aa6814c859517b04c62b8459cd (diff) | |
download | gsoc2013-evolution-e419261d1841fa38c0c41f5eaddd9b790ab85996.tar gsoc2013-evolution-e419261d1841fa38c0c41f5eaddd9b790ab85996.tar.gz gsoc2013-evolution-e419261d1841fa38c0c41f5eaddd9b790ab85996.tar.bz2 gsoc2013-evolution-e419261d1841fa38c0c41f5eaddd9b790ab85996.tar.lz gsoc2013-evolution-e419261d1841fa38c0c41f5eaddd9b790ab85996.tar.xz gsoc2013-evolution-e419261d1841fa38c0c41f5eaddd9b790ab85996.tar.zst gsoc2013-evolution-e419261d1841fa38c0c41f5eaddd9b790ab85996.zip |
Bug #633949 - Add an option to disable new e-mail check at startup
Diffstat (limited to 'modules/mail/em-mailer-prefs.c')
-rw-r--r-- | modules/mail/em-mailer-prefs.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/mail/em-mailer-prefs.c b/modules/mail/em-mailer-prefs.c index b03ac60b0c..cae9251158 100644 --- a/modules/mail/em-mailer-prefs.c +++ b/modules/mail/em-mailer-prefs.c @@ -832,6 +832,13 @@ em_mailer_prefs_construct (EMMailerPrefs *prefs, /* General tab */ + widget = e_builder_get_widget (prefs->builder, "chkCheckMailOnStart"); + g_object_bind_property ( + shell_settings, "mail-check-on-start", + widget, "active", + G_BINDING_BIDIRECTIONAL | + G_BINDING_SYNC_CREATE); + /* Message Display */ widget = e_builder_get_widget (prefs->builder, "view-check"); |