[evolution/wip/webkit-composer: 122/372] Disable smileys in plain text mode
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit-composer: 122/372] Disable smileys in plain text mode
- Date: Thu, 6 Feb 2014 11:33:45 +0000 (UTC)
commit 3aaf45e8196f0a666973d320416165f5096b25fe
Author: Dan Vrátil <dvratil redhat com>
Date: Wed Aug 22 13:17:02 2012 +0200
Disable smileys in plain text mode
e-util/e-editor-widget.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-editor-widget.c b/e-util/e-editor-widget.c
index 7d5a39a..6d2d7c7 100644
--- a/e-util/e-editor-widget.c
+++ b/e-util/e-editor-widget.c
@@ -382,7 +382,8 @@ editor_widget_key_release_event (GtkWidget *gtk_widget,
range = editor_widget_get_dom_range (widget);
- if (widget->priv->magic_smileys) {
+ if (widget->priv->magic_smileys &&
+ widget->priv->mode == E_EDITOR_WIDGET_MODE_HTML) {
editor_widget_check_magic_smileys (widget, range);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]