aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2003-04-03 16:46:53 +0800
committerChris Toshok <toshok@src.gnome.org>2003-04-03 16:46:53 +0800
commite2e058c6b4273686ef7bbe5c7362cbaf58c7123a (patch)
tree0ad006900477a4e7b7d21485953db1091857d9ac /widgets/text
parent64ac859644c6d796cebaf1a2d121049a2b9d29f5 (diff)
downloadgsoc2013-evolution-e2e058c6b4273686ef7bbe5c7362cbaf58c7123a.tar.gz
gsoc2013-evolution-e2e058c6b4273686ef7bbe5c7362cbaf58c7123a.tar.zst
gsoc2013-evolution-e2e058c6b4273686ef7bbe5c7362cbaf58c7123a.zip
emit a keypress signal. yes, i know this might not correspond to a single
2003-04-03 Chris Toshok <toshok@ximian.com> * gal/e-text/e-text.c (e_text_commit_cb): emit a keypress signal. yes, i know this might not correspond to a single keypress, but.. svn path=/trunk/; revision=20659
Diffstat (limited to 'widgets/text')
-rw-r--r--widgets/text/e-text.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index a8d4c4509b..1999148187 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -3511,6 +3511,8 @@ e_text_commit_cb (GtkIMContext *context,
if (text->selection_end != text->selection_start)
e_text_delete_selection (text);
e_text_insert (text, str, strlen (str));
+ g_signal_emit (text, e_text_signals[E_TEXT_KEYPRESS], 0,
+ 0 /* XXX ugh */, 0 /* XXX ugh */);
}
static gboolean