aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-15 04:31:28 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-15 04:32:29 +0800
commitd4e5485e0237d1ff38b74083c304336d86cbca33 (patch)
tree20765a88160b25dfbe86f739e60e47c845c14d65 /plugins
parent9b181e8e3d9e5a1bce51ca32245f5f013f03f881 (diff)
downloadgsoc2013-evolution-d4e5485e0237d1ff38b74083c304336d86cbca33.tar
gsoc2013-evolution-d4e5485e0237d1ff38b74083c304336d86cbca33.tar.gz
gsoc2013-evolution-d4e5485e0237d1ff38b74083c304336d86cbca33.tar.bz2
gsoc2013-evolution-d4e5485e0237d1ff38b74083c304336d86cbca33.tar.lz
gsoc2013-evolution-d4e5485e0237d1ff38b74083c304336d86cbca33.tar.xz
gsoc2013-evolution-d4e5485e0237d1ff38b74083c304336d86cbca33.tar.zst
gsoc2013-evolution-d4e5485e0237d1ff38b74083c304336d86cbca33.zip
Bug 632127 - Composer is editable while sending message
Diffstat (limited to 'plugins')
-rw-r--r--plugins/external-editor/external-editor.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/plugins/external-editor/external-editor.c b/plugins/external-editor/external-editor.c
index b55623a0ce..5e0de2f285 100644
--- a/plugins/external-editor/external-editor.c
+++ b/plugins/external-editor/external-editor.c
@@ -451,7 +451,7 @@ gboolean
e_plugin_ui_init (GtkUIManager *manager, EMsgComposer *composer)
{
GtkhtmlEditor *editor;
- GtkHTML *html;
+ EWebView *web_view;
editor = GTKHTML_EDITOR (composer);
@@ -460,13 +460,15 @@ e_plugin_ui_init (GtkUIManager *manager, EMsgComposer *composer)
gtkhtml_editor_get_action_group (editor, "composer"),
entries, G_N_ELEMENTS (entries), composer);
- html = gtkhtml_editor_get_html (editor);
+ web_view = e_msg_composer_get_web_view (composer);
- g_signal_connect (G_OBJECT(html), "key_press_event",
- G_CALLBACK (key_press_cb), composer);
+ g_signal_connect (
+ web_view, "key_press_event",
+ G_CALLBACK (key_press_cb), composer);
- g_signal_connect (G_OBJECT(composer), "delete-event",
- G_CALLBACK (delete_cb), composer);
+ g_signal_connect (
+ web_view, "delete-event",
+ G_CALLBACK (delete_cb), composer);
return TRUE;
}