aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@novell.com>2010-04-08 06:31:13 +0800
committerFederico Mena Quintero <federico@novell.com>2010-04-09 06:48:11 +0800
commit17af1857c0f8f1706d159c33d0cfcb9940fb0cb2 (patch)
tree09faf2b4904f0669a3eb448d84314c7735dc94f5 /modules/mail
parent2809ab069ef2b243c6860be6373d2e8b3b60937b (diff)
downloadgsoc2013-evolution-17af1857c0f8f1706d159c33d0cfcb9940fb0cb2.tar
gsoc2013-evolution-17af1857c0f8f1706d159c33d0cfcb9940fb0cb2.tar.gz
gsoc2013-evolution-17af1857c0f8f1706d159c33d0cfcb9940fb0cb2.tar.bz2
gsoc2013-evolution-17af1857c0f8f1706d159c33d0cfcb9940fb0cb2.tar.lz
gsoc2013-evolution-17af1857c0f8f1706d159c33d0cfcb9940fb0cb2.tar.xz
gsoc2013-evolution-17af1857c0f8f1706d159c33d0cfcb9940fb0cb2.tar.zst
gsoc2013-evolution-17af1857c0f8f1706d159c33d0cfcb9940fb0cb2.zip
Hide widgets for the composer's preferences in Express mode
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Diffstat (limited to 'modules/mail')
-rw-r--r--modules/mail/em-composer-prefs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/mail/em-composer-prefs.c b/modules/mail/em-composer-prefs.c
index eabde51396..05c4bd30c2 100644
--- a/modules/mail/em-composer-prefs.c
+++ b/modules/mail/em-composer-prefs.c
@@ -36,6 +36,7 @@
#include "em-composer-prefs.h"
#include "composer/e-msg-composer.h"
+#include "shell/e-shell-utils.h"
#include <camel/camel-iconv.h>
@@ -548,6 +549,9 @@ em_composer_prefs_construct (EMComposerPrefs *prefs,
signature_tree_view, "selected",
widget, "signature");
+ /* Sanitize the dialog for Express mode */
+ e_shell_hide_widgets_for_express_mode (shell, prefs->builder, "/apps/evolution/mail/composer/express_preferences_hidden");
+
/* get our toplevel widget */
target = em_config_target_new_prefs (ec, client);
e_config_set_target ((EConfig *)ec, (EConfigTarget *)target);