aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@novell.com>2010-04-27 07:13:24 +0800
committerFederico Mena Quintero <federico@novell.com>2010-04-27 07:13:24 +0800
commit0b07840e26f7c793939ec8226695ffca19aa1bfb (patch)
treea16ca35139a60b25f642e3f8c68580dee227ec03 /modules/mail
parent7ef34bfaae3e776101ff086bfb18494869e39e55 (diff)
downloadgsoc2013-evolution-0b07840e26f7c793939ec8226695ffca19aa1bfb.tar
gsoc2013-evolution-0b07840e26f7c793939ec8226695ffca19aa1bfb.tar.gz
gsoc2013-evolution-0b07840e26f7c793939ec8226695ffca19aa1bfb.tar.bz2
gsoc2013-evolution-0b07840e26f7c793939ec8226695ffca19aa1bfb.tar.lz
gsoc2013-evolution-0b07840e26f7c793939ec8226695ffca19aa1bfb.tar.xz
gsoc2013-evolution-0b07840e26f7c793939ec8226695ffca19aa1bfb.tar.zst
gsoc2013-evolution-0b07840e26f7c793939ec8226695ffca19aa1bfb.zip
Don't use gconf to store the names of widgets to hide
That was just for development. Now we hardcode the lists of widgets. Signed-off-by: Federico Mena Quintero <federico@novell.com>
Diffstat (limited to 'modules/mail')
-rw-r--r--modules/mail/em-composer-prefs.c7
-rw-r--r--modules/mail/em-mailer-prefs.c8
2 files changed, 13 insertions, 2 deletions
diff --git a/modules/mail/em-composer-prefs.c b/modules/mail/em-composer-prefs.c
index 72c5d18b25..49f2fda5b6 100644
--- a/modules/mail/em-composer-prefs.c
+++ b/modules/mail/em-composer-prefs.c
@@ -554,7 +554,12 @@ em_composer_prefs_construct (EMComposerPrefs *prefs,
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");
+ e_shell_hide_widgets_for_express_mode (shell, prefs->builder,
+ "chkOutlookFilenames",
+ "vboxTopPosting",
+ "labelAlerts",
+ "chkPromptEmptySubject",
+ NULL);
/* get our toplevel widget */
target = em_config_target_new_prefs (ec, client);
diff --git a/modules/mail/em-mailer-prefs.c b/modules/mail/em-mailer-prefs.c
index e2605c8ff5..ed5e82d7ea 100644
--- a/modules/mail/em-mailer-prefs.c
+++ b/modules/mail/em-mailer-prefs.c
@@ -1208,7 +1208,13 @@ em_mailer_prefs_construct (EMMailerPrefs *prefs,
g_signal_connect (G_OBJECT (prefs->junk_header_remove), "clicked", G_CALLBACK (jh_remove_cb), prefs);
/* Sanitize the dialog for Express mode */
- e_shell_hide_widgets_for_express_mode (shell, prefs->builder, "/apps/evolution/mail/express_preferences_hidden");
+ e_shell_hide_widgets_for_express_mode (shell, prefs->builder,
+ "hboxReadTimeout",
+ "hboxMailSizeLimit",
+ "hboxShrinkAddresses",
+ "magic_spacebar_checkbox",
+ "hboxEnableSearchFolders",
+ NULL);
/* get our toplevel widget */
target = em_config_target_new_prefs(ec, prefs->gconf);