diff options
author | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-06-02 05:41:12 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-06-02 05:41:12 +0800 |
commit | 068e5e40b09717f630f6bb12bc199d6a739db4e3 (patch) | |
tree | 96544d47d49b252f40fd3aaa18caf09806ee0e15 /mail/em-mailer-prefs.c | |
parent | 4823916613b56d2cf046469b466ef5c6754b8d27 (diff) | |
download | gsoc2013-evolution-068e5e40b09717f630f6bb12bc199d6a739db4e3.tar.gz gsoc2013-evolution-068e5e40b09717f630f6bb12bc199d6a739db4e3.tar.zst gsoc2013-evolution-068e5e40b09717f630f6bb12bc199d6a739db4e3.zip |
** Adds support for Contact Image in the preview pane
svn path=/trunk/; revision=33613
Diffstat (limited to 'mail/em-mailer-prefs.c')
-rw-r--r-- | mail/em-mailer-prefs.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mail/em-mailer-prefs.c b/mail/em-mailer-prefs.c index 7caeee32a3..9c61eddfec 100644 --- a/mail/em-mailer-prefs.c +++ b/mail/em-mailer-prefs.c @@ -1084,6 +1084,15 @@ em_mailer_prefs_construct (EMMailerPrefs *prefs) /* headers */ locked = !gconf_client_key_is_writable (prefs->gconf, "/apps/evolution/mail/display/headers", NULL); + + prefs->photo_show= GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui, "photo_show")); + toggle_button_init (prefs, prefs->photo_show, FALSE, + "/apps/evolution/mail/display/sender_photo", + G_CALLBACK (toggle_button_toggled)); + prefs->photo_local = GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui, "photo_local")); + toggle_button_init (prefs, prefs->photo_local, FALSE, + "/apps/evolution/mail/display/photo_local", + G_CALLBACK (toggle_button_toggled)); /* always de-sensitised until the user types something in the entry */ prefs->add_header = GTK_BUTTON (glade_xml_get_widget (gui, "cmdHeadersAdd")); |