aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-03-30 20:27:49 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-03-30 21:25:30 +0800
commitc516014a5afb2338d1b2e6d7b0438a1835bf9fa8 (patch)
tree6f426c92f76dd7fedaf9c907f199610e01677dd5 /mail
parentca79c7993fc6ed146c62d3ce984878350be7c110 (diff)
downloadgsoc2013-evolution-c516014a5afb2338d1b2e6d7b0438a1835bf9fa8.tar.gz
gsoc2013-evolution-c516014a5afb2338d1b2e6d7b0438a1835bf9fa8.tar.zst
gsoc2013-evolution-c516014a5afb2338d1b2e6d7b0438a1835bf9fa8.zip
Express: Composer always defaults to HTML mode
Composer and signature editor always default to HTML in Express mode. Hide the corresponding composer preference. This will not affect the user preference in normal mode.
Diffstat (limited to 'mail')
-rw-r--r--mail/em-account-editor.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index 77d2dc8216..d3158fb48d 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -835,7 +835,6 @@ emae_signature_new (GtkWidget *widget, EMAccountEditor *emae)
EShell *shell;
EShellSettings *shell_settings;
GtkWidget *editor;
- gboolean html_mode;
gpointer parent;
shell = e_shell_get_default ();
@@ -844,11 +843,7 @@ emae_signature_new (GtkWidget *widget, EMAccountEditor *emae)
parent = gtk_widget_get_toplevel (widget);
parent = gtk_widget_is_toplevel (parent) ? parent : NULL;
- html_mode = e_shell_settings_get_boolean (
- shell_settings, "composer-format-html");
-
editor = e_signature_editor_new ();
- gtkhtml_editor_set_html_mode (GTKHTML_EDITOR (editor), html_mode);
gtk_window_set_transient_for (GTK_WINDOW (editor), parent);
gtk_widget_show (editor);
}