From 51a35cd8be6904a3bb477eccc544a186a66b541c Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 30 Mar 2010 08:27:49 -0400 Subject: 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. --- mail/em-account-editor.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'mail/em-account-editor.c') 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); } -- cgit v1.2.3