[Libreoffice-commits] core.git: Branch 'feature/tiled-editing' - libreofficekit/qa

Miklos Vajna vmiklos at collabora.co.uk
Mon Feb 23 09:24:21 PST 2015


 libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 92f5970cec8799bf2278d04605f8b3f85d48439a
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Feb 23 16:11:17 2015 +0100

    gtktiledviewer: map GDK_Tab to css::awt::Key::TAB
    
    Change-Id: Icfd38ea4bc4fb470e3eb3eb1a3d48c6607d6a999

diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
index 65bfb7d..5337cc4 100644
--- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
+++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
@@ -156,6 +156,9 @@ static void signalKey(GtkWidget* /*pWidget*/, GdkEventKey* pEvent, gpointer /*pD
     case GDK_Escape:
         nKeyCode = com::sun::star::awt::Key::ESCAPE;
         break;
+    case GDK_Tab:
+        nKeyCode = com::sun::star::awt::Key::TAB;
+        break;
     default:
         if (pEvent->keyval >= GDK_F1 && pEvent->keyval <= GDK_F26)
             nKeyCode = com::sun::star::awt::Key::F1 + (pEvent->keyval - GDK_F1);


More information about the Libreoffice-commits mailing list