aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/em-composer-prefs.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2014-06-02 20:36:00 +0800
committerMilan Crha <mcrha@redhat.com>2014-06-02 20:36:00 +0800
commit2f73b39bf2999fa0316e776a0d7a3967e69c8ec6 (patch)
tree12f9628dfb6ba7807393a6ff762d08de84dd692c /modules/mail/em-composer-prefs.c
parentd2127ba0d3dfd01f660e998026cf17576051af99 (diff)
downloadgsoc2013-evolution-2f73b39bf2999fa0316e776a0d7a3967e69c8ec6.tar
gsoc2013-evolution-2f73b39bf2999fa0316e776a0d7a3967e69c8ec6.tar.gz
gsoc2013-evolution-2f73b39bf2999fa0316e776a0d7a3967e69c8ec6.tar.bz2
gsoc2013-evolution-2f73b39bf2999fa0316e776a0d7a3967e69c8ec6.tar.lz
gsoc2013-evolution-2f73b39bf2999fa0316e776a0d7a3967e69c8ec6.tar.xz
gsoc2013-evolution-2f73b39bf2999fa0316e776a0d7a3967e69c8ec6.tar.zst
gsoc2013-evolution-2f73b39bf2999fa0316e776a0d7a3967e69c8ec6.zip
Add "Send messages through Outbox folder" option
Users ask from time to time for the old behaviour when the messages used to be saved through Outbox, rather than the composer being opened all the time the message is sending. The change is pretty simple, thus why not to add it. Note the Outbox is not flushed after sending, the users is responsible to invoke the Outbox flush on his/her own. This also allows a user to postpone the message send for later.
Diffstat (limited to 'modules/mail/em-composer-prefs.c')
-rw-r--r--modules/mail/em-composer-prefs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/mail/em-composer-prefs.c b/modules/mail/em-composer-prefs.c
index d7ddf2a3ad..8ef21c49a3 100644
--- a/modules/mail/em-composer-prefs.c
+++ b/modules/mail/em-composer-prefs.c
@@ -1135,6 +1135,12 @@ em_composer_prefs_construct (EMComposerPrefs *prefs,
widget, "active",
G_SETTINGS_BIND_DEFAULT);
+ widget = e_builder_get_widget (prefs->builder, "chkUseOutbox");
+ g_settings_bind (
+ settings, "composer-use-outbox",
+ widget, "active",
+ G_SETTINGS_BIND_DEFAULT);
+
widget = e_builder_get_widget (prefs->builder, "chkIgnoreListReplyTo");
g_settings_bind (
settings, "composer-ignore-list-reply-to",