aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-prefs.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-01-02 20:23:07 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-01-02 20:23:07 +0800
commit89908f675cfc9a7c83d69f729bf4d4e57cd5a41a (patch)
tree12cd79ba0be9b146ab71c87985139f8b01d6299f /mail/em-composer-prefs.c
parent0d0fe5eae4c87c2bfcdd9ea0aa488e2f32c7ed17 (diff)
downloadgsoc2013-evolution-89908f675cfc9a7c83d69f729bf4d4e57cd5a41a.tar.gz
gsoc2013-evolution-89908f675cfc9a7c83d69f729bf4d4e57cd5a41a.tar.zst
gsoc2013-evolution-89908f675cfc9a7c83d69f729bf4d4e57cd5a41a.zip
** Fix for bug #364642
2008-01-02 Milan Crha <mcrha@redhat.com> ** Fix for bug #364642 * mail/em-composer-prefs.h: (struct _EMComposerPrefs): * mail/em-composer-prefs.c: (em_composer_prefs_construct): * mail/mail-config.glade: * mail/evolution-mail.schemas.in: (/apps/evolution/mail/composer/request_receipt): New option in Composer tab to preset Request Read Receipt in composer. * composer/e-msg-composer.c: (create_composer): Preset "Request Read Receipt" based on gconf key "/apps/evolution/mail/composer/request_receipt". svn path=/trunk/; revision=34749
Diffstat (limited to 'mail/em-composer-prefs.c')
-rw-r--r--mail/em-composer-prefs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/em-composer-prefs.c b/mail/em-composer-prefs.c
index 4839e4e1f6..11857c14ba 100644
--- a/mail/em-composer-prefs.c
+++ b/mail/em-composer-prefs.c
@@ -918,6 +918,10 @@ em_composer_prefs_construct (EMComposerPrefs *prefs)
toggle_button_init (prefs, prefs->auto_smileys, FALSE,
"/apps/evolution/mail/composer/magic_smileys");
+ prefs->auto_request_receipt = GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui, "chkRequestReceipt"));
+ toggle_button_init (prefs, prefs->auto_request_receipt, FALSE,
+ "/apps/evolution/mail/composer/request_receipt");
+
prefs->top_signature = GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui, "chkTopSignature"));
toggle_button_init (prefs, prefs->top_signature, FALSE,
"/apps/evolution/mail/composer/top_signature");