summaryrefslogtreecommitdiff
path: root/libreofficekit
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.com>2016-03-31 14:47:27 +0530
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-07-12 22:06:32 -0400
commite6e379a2b637792a89fab369e759c7c920531990 (patch)
tree45ca1511e1c90a8a7509ae4622c2b052c932dbd1 /libreofficekit
parentee7d0e162fa834cc5af6f36bf40d476fe2f64008 (diff)
lok context menu: Expose context menu
(cherry picked from commit 610db8d5d0500aed2ca6d4da822cf70746b44d49) Change-Id: I0968689630e10f838c075e86357eb36a9a220d0d
Diffstat (limited to 'libreofficekit')
-rw-r--r--libreofficekit/source/gtk/lokdocview.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
index bb52b861a437..a956f6bfd2ae 100644
--- a/libreofficekit/source/gtk/lokdocview.cxx
+++ b/libreofficekit/source/gtk/lokdocview.cxx
@@ -325,6 +325,8 @@ callbackTypeToString (int nType)
return "LOK_CALLBACK_DOCUMENT_PASSWORD";
case LOK_CALLBACK_DOCUMENT_PASSWORD_TO_MODIFY:
return "LOK_CALLBACK_DOCUMENT_PASSWORD_TO_MODIFY";
+ case LOK_CALLBACK_CONTEXT_MENU:
+ return "LOK_CALLBACK_CONTEXT_MENU";
}
return nullptr;
}
@@ -1096,6 +1098,11 @@ callback (gpointer pData)
reportError(pDocView, pCallback->m_aPayload);
}
break;
+ case LOK_CALLBACK_CONTEXT_MENU:
+ {
+ // TODO: Implement me
+ break;
+ }
default:
g_assert(false);
break;