[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.1' - libreofficekit/source
Miklos Vajna
vmiklos at collabora.co.uk
Sun Nov 20 08:39:11 UTC 2016
libreofficekit/source/gtk/lokdocview.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 78531c664163f54a9116b06b35a85243110d8352
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Fri Jan 22 17:16:33 2016 +0100
lokdocview: handle page down and page up
Change-Id: I119633474236faa95ecf5fd26cd89789b313e382
(cherry picked from commit 455069c6ec3e3b08dda1c7cc1104161a935b0364)
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
index a456789..aa346ac 100644
--- a/libreofficekit/source/gtk/lokdocview.cxx
+++ b/libreofficekit/source/gtk/lokdocview.cxx
@@ -738,6 +738,12 @@ signalKey (GtkWidget* pWidget, GdkEventKey* pEvent)
case GDK_KEY_Right:
nKeyCode = com::sun::star::awt::Key::RIGHT;
break;
+ case GDK_KEY_Page_Down:
+ nKeyCode = com::sun::star::awt::Key::PAGEDOWN;
+ break;
+ case GDK_KEY_Page_Up:
+ nKeyCode = com::sun::star::awt::Key::PAGEUP;
+ break;
case GDK_KEY_Shift_L:
case GDK_KEY_Shift_R:
if (pEvent->type == GDK_KEY_PRESS)
More information about the Libreoffice-commits
mailing list