aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog7
-rw-r--r--composer/e-msg-composer.c7
2 files changed, 13 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 4943dc6cb3..e919c2ff17 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,10 @@
+2004-03-22 Radek Doulik <rodo@ximian.com>
+
+ * e-msg-composer.c (disable_editor): do not set editor
+ insensitive, use editable-off command instead
+
+ Fixes #55049
+
2004-03-22 Not Zed <NotZed@Ximian.com>
* e-msg-composer-hdrs.c (post_browser_clicked_cb): exclude
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 250d5d3b63..2523182399 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -3922,7 +3922,12 @@ e_msg_composer_new_with_message (CamelMimeMessage *message)
static void
disable_editor (EMsgComposer *composer)
{
- gtk_widget_set_sensitive (composer->editor, FALSE);
+ CORBA_Environment ev;
+
+ CORBA_exception_init (&ev);
+ GNOME_GtkHTML_Editor_Engine_runCommand (composer->editor_engine, "editable-off", &ev);
+ CORBA_exception_free (&ev);
+
gtk_widget_set_sensitive (composer->attachment_bar, FALSE);
bonobo_ui_component_set_prop (composer->uic, "/menu/Edit", "sensitive", "0", NULL);