summaryrefslogtreecommitdiff
path: root/libreofficekit
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2023-06-04 20:57:19 +0900
committerTomaž Vajngerl <quikee@gmail.com>2023-06-06 08:36:41 +0200
commit405f9f02e202c10d43c3de715f4efc97ab1f6f59 (patch)
tree6c4a8c6a6de85261f6636cd77fa25f1dff8ebd2f /libreofficekit
parent677761a10059c33ba25df7daeee4e72e199248e4 (diff)
lok: callback to send the updated theme palette when theme changes
The callback sends the updated theme color palette when the theme changes or initially when the view is registered, so the client should always have the up-to-date theme color palette stored, so it can just show the color picker with the theme at any time without the need to call the server. Change-Id: I7cceccc46c2fad23ba89e6d3f3643e37f8dab292 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152589 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit e86a0236e69d76769b91f96d71fe852b91c5db6e) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152625 Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'libreofficekit')
-rw-r--r--libreofficekit/source/gtk/lokdocview.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
index 6d810f2d1e3f..305ac5a477d2 100644
--- a/libreofficekit/source/gtk/lokdocview.cxx
+++ b/libreofficekit/source/gtk/lokdocview.cxx
@@ -1491,6 +1491,7 @@ callback (gpointer pData)
case LOK_CALLBACK_A11Y_FOCUS_CHANGED:
case LOK_CALLBACK_A11Y_CARET_CHANGED:
case LOK_CALLBACK_A11Y_TEXT_SELECTION_CHANGED:
+ case LOK_CALLBACK_COLOR_PALETTES:
{
// TODO: Implement me
break;