[evolution/wip/webkit-composer: 755/966] Bug 708762 - Tab should write tab, not change focus widget
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit-composer: 755/966] Bug 708762 - Tab should write tab, not change focus widget
- Date: Wed, 23 Apr 2014 10:56:53 +0000 (UTC)
commit af5bf7565c5e9db9c64cef3d2300e439c04cb112
Author: Tomas Popela <tpopela redhat com>
Date: Fri Oct 11 13:22:18 2013 +0200
Bug 708762 - Tab should write tab, not change focus widget
e-util/e-editor-widget.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-editor-widget.c b/e-util/e-editor-widget.c
index f458b88..259728e 100644
--- a/e-util/e-editor-widget.c
+++ b/e-util/e-editor-widget.c
@@ -1000,6 +1000,12 @@ editor_widget_key_press_event (GtkWidget *widget,
{
EEditorWidget *editor = E_EDITOR_WIDGET (widget);
+ if (event->keyval == GDK_KEY_Tab)
+ return e_editor_widget_exec_command (
+ editor,
+ E_EDITOR_WIDGET_COMMAND_INSERT_TEXT,
+ "\t");
+
if ((event->keyval == GDK_KEY_Control_L) ||
(event->keyval == GDK_KEY_Control_R)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]