From ba6a2343869f6be82f44261f183cd6925659d5ee Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 27 Mar 2011 15:16:39 -0400 Subject: 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. --- mail/mail-config.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'mail/mail-config.c') 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); -- cgit v1.2.3