diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-03-28 03:16:39 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:50 +0800 |
commit | 392973975c3e4a4e8fe17731b5e397ae10a91517 (patch) | |
tree | 40d5e138d9d116af9da0fbc58b304b2e4ffad774 /modules/mail | |
parent | 6e996d8023dc195cb07290a729d7d8a3ccb76e65 (diff) | |
download | gsoc2013-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 'modules/mail')
-rw-r--r-- | modules/mail/em-composer-prefs.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/modules/mail/em-composer-prefs.c b/modules/mail/em-composer-prefs.c index 3added6de1..18f12e8c9e 100644 --- a/modules/mail/em-composer-prefs.c +++ b/modules/mail/em-composer-prefs.c @@ -563,18 +563,6 @@ em_composer_prefs_construct (EMComposerPrefs *prefs, widget, "prefer-html", G_BINDING_SYNC_CREATE); -#if 0 /* XXX Lockdown keys have moved to gsettings-desktop-schemas, - * so disable lockdown integration until we're ready for - * GSettings. */ -#ifndef G_OS_WIN32 - g_object_bind_property ( - shell_settings, "disable-command-line", - widget, "allow-scripts", - G_BINDING_SYNC_CREATE | - G_BINDING_INVERT_BOOLEAN); -#endif -#endif - signature_tree_view = e_signature_manager_get_tree_view ( E_SIGNATURE_MANAGER (widget)); @@ -584,18 +572,6 @@ em_composer_prefs_construct (EMComposerPrefs *prefs, gtk_container_add (GTK_CONTAINER (container), widget); gtk_widget_show (widget); -#if 0 /* XXX Lockdown keys have moved to gsettings-desktop-schemas, - * so disable lockdown integration until we're ready for - * GSettings. */ -#ifndef G_OS_WIN32 - g_object_bind_property ( - shell_settings, "disable-command-line", - widget, "allow-scripts", - G_BINDING_SYNC_CREATE | - G_BINDING_INVERT_BOOLEAN); -#endif -#endif - g_object_bind_property ( signature_tree_view, "selected", widget, "signature", |