aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-03-28 03:16:39 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:50 +0800
commit392973975c3e4a4e8fe17731b5e397ae10a91517 (patch)
tree40d5e138d9d116af9da0fbc58b304b2e4ffad774 /mail/mail-config.c
parent6e996d8023dc195cb07290a729d7d8a3ccb76e65 (diff)
downloadgsoc2013-evolution-392973975c3e4a4e8fe17731b5e397ae10a91517.tar
gsoc2013-evolution-392973975c3e4a4e8fe17731b5e397ae10a91517.tar.gz
gsoc2013-evolution-392973975c3e4a4e8fe17731b5e397ae10a91517.tar.bz2
gsoc2013-evolution-392973975c3e4a4e8fe17731b5e397ae10a91517.tar.lz
gsoc2013-evolution-392973975c3e4a4e8fe17731b5e397ae10a91517.tar.xz
gsoc2013-evolution-392973975c3e4a4e8fe17731b5e397ae10a91517.tar.zst
gsoc2013-evolution-392973975c3e4a4e8fe17731b5e397ae10a91517.zip
Restore lockdown integration.
With lockdown settings available through GSettings, widgets can handle lockdown integration themselves without having to use EShellSettings. Also fixed a few places where printing or save-to-disk actions were either not properly wired up or not responding to lockdown settings, but much more work needs done. Attachments, for example, are not honoring the disable-save-to-disk setting at all. This too requires the recently-added gsettings-desktop-schemas dependency.
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index d1f87b9dd6..ac5d078ebf 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -52,7 +52,6 @@ typedef struct {
gboolean jh_check;
gboolean book_lookup;
gboolean book_lookup_local_only;
- gboolean scripts_disabled;
} MailConfig;
extern gint camel_header_param_encode_filenames_in_rfc_2047;
@@ -496,13 +495,6 @@ mail_config_init (EMailSession *session)
config->book_lookup_local_only =
gconf_client_get_bool (client, key, NULL);
- key = "/desktop/gnome/lockdown/disable_command_line";
- func = (GConfClientNotifyFunc) gconf_bool_value_changed;
- gconf_client_notify_add (
- client, key, func,
- &config->scripts_disabled, NULL, NULL);
- config->scripts_disabled = gconf_client_get_bool (client, key, NULL);
-
gconf_jh_check_changed (client, 0, NULL, session);
folder_cache = e_mail_session_get_folder_cache (session);