aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2004-03-23 02:35:27 +0800
committerRadek Doulik <rodo@src.gnome.org>2004-03-23 02:35:27 +0800
commit17d85681a4b8f28c5fa0ba021c96fcdd22ea27cc (patch)
tree6c42adfdb9aeceec0e08eca528fbbabe1c933c0e /composer
parenta075de474e79002f312a251d5b7580a04370d81a (diff)
downloadgsoc2013-evolution-17d85681a4b8f28c5fa0ba021c96fcdd22ea27cc.tar
gsoc2013-evolution-17d85681a4b8f28c5fa0ba021c96fcdd22ea27cc.tar.gz
gsoc2013-evolution-17d85681a4b8f28c5fa0ba021c96fcdd22ea27cc.tar.bz2
gsoc2013-evolution-17d85681a4b8f28c5fa0ba021c96fcdd22ea27cc.tar.lz
gsoc2013-evolution-17d85681a4b8f28c5fa0ba021c96fcdd22ea27cc.tar.xz
gsoc2013-evolution-17d85681a4b8f28c5fa0ba021c96fcdd22ea27cc.tar.zst
gsoc2013-evolution-17d85681a4b8f28c5fa0ba021c96fcdd22ea27cc.zip
do not set editor insensitive, use editable-off command instead
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 svn path=/trunk/; revision=25148
Diffstat (limited to 'composer')
-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);