diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2009-01-27 11:50:19 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2009-01-27 11:50:19 +0800 |
commit | 98d262b594caefd053a2d075e2d8482b2d8a12c8 (patch) | |
tree | 1474ebf4401477049436bf89a1432447995d0b00 /mail/em-composer-prefs.c | |
parent | e0f414941dd4e13ea074996d10606b0dae7e494b (diff) | |
download | gsoc2013-evolution-98d262b594caefd053a2d075e2d8482b2d8a12c8.tar.gz gsoc2013-evolution-98d262b594caefd053a2d075e2d8482b2d8a12c8.tar.zst gsoc2013-evolution-98d262b594caefd053a2d075e2d8482b2d8a12c8.zip |
Add action groups to support lockdown, starting with printing.
Other categories to follow. Editors still need lockdown support.
svn path=/branches/kill-bonobo/; revision=37136
Diffstat (limited to 'mail/em-composer-prefs.c')
-rw-r--r-- | mail/em-composer-prefs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/em-composer-prefs.c b/mail/em-composer-prefs.c index 2609e46835..6d5da4936c 100644 --- a/mail/em-composer-prefs.c +++ b/mail/em-composer-prefs.c @@ -1044,7 +1044,9 @@ em_composer_prefs_construct (EMComposerPrefs *prefs, prefs->sig_add = GTK_BUTTON (widget); widget = glade_xml_get_widget (gui, "cmdSignatureAddScript"); - gtk_widget_set_sensitive (widget, sensitive && !mail_config_scripts_disabled ()); + e_binding_new_with_negation ( + G_OBJECT (shell_settings), "disable-command-line", + G_OBJECT (widget), "sensitive"); g_signal_connect ( widget, "clicked", G_CALLBACK (sig_add_script_cb), prefs); |