aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-prefs.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-11-13 04:03:07 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-11-13 04:03:07 +0800
commitd808366b5f070f8700a4f116c473235063523e7f (patch)
treefca822eef57620c5ffcaf772b88618c3bdea65b6 /mail/em-composer-prefs.c
parent8ef97f1b13849dc22c24b76e17cbfb8d23d7aa70 (diff)
downloadgsoc2013-evolution-d808366b5f070f8700a4f116c473235063523e7f.tar.gz
gsoc2013-evolution-d808366b5f070f8700a4f116c473235063523e7f.tar.zst
gsoc2013-evolution-d808366b5f070f8700a4f116c473235063523e7f.zip
** Part of fix for bug #524377
2008-11-12 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #524377 * configure.in: Bump eds minimum version to 2.25.2 because of camel's int camel_header_param_encode_filenames_in_rfc_2047. * mail/mail-config.glade: * mail/evolution-mail.schemas.in: * mail/em-composer-prefs.c: (em_composer_prefs_construct): * mail/mail-config.c: (gconf_outlook_filenames_changed), (mail_config_init): Declare, be able to change and listen to changes on new key, '/apps/evolution/mail/composer/outlook_filenames' to encode file names header in camel based on the RFC 2047, instead of the correct RFC 2231. Note: Requires at least eds revision 9756. svn path=/trunk/; revision=36779
Diffstat (limited to 'mail/em-composer-prefs.c')
-rw-r--r--mail/em-composer-prefs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/em-composer-prefs.c b/mail/em-composer-prefs.c
index 5c5b491afb..0b19cc24bf 100644
--- a/mail/em-composer-prefs.c
+++ b/mail/em-composer-prefs.c
@@ -917,6 +917,12 @@ em_composer_prefs_construct (EMComposerPrefs *prefs)
gtk_widget_set_sensitive (widget, FALSE);
gconf_bridge_bind_property (bridge, key, G_OBJECT (widget), "active");
+ key = "/apps/evolution/mail/composer/outlook_filenames";
+ widget = glade_xml_get_widget (gui, "chkOutlookFilenames");
+ if (!gconf_client_key_is_writable (client, key, NULL))
+ gtk_widget_set_sensitive (widget, FALSE);
+ gconf_bridge_bind_property (bridge, key, G_OBJECT (widget), "active");
+
key = "/apps/evolution/mail/composer/top_signature";
widget = glade_xml_get_widget (gui, "chkTopSignature");
if (!gconf_client_key_is_writable (client, key, NULL))