diff options
author | Mihai Varga <mihai.varga@collabora.com> | 2015-05-19 10:55:18 +0300 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-05-19 09:59:35 +0000 |
commit | 158614a2abc35d122e467d2006830f2c5375aa84 (patch) | |
tree | 50849bd3ce94e5fbfc6a9b0d28123d187428b090 /libreofficekit | |
parent | d6c80f239ee7487e38ce17afdb02c160fca7d313 (diff) |
LOKit callback for search not found
Needed for signaling the user when no match was found for
the searched input
Change-Id: I171ee956d94d6fd83036ae34102c2f1bdd5661de
Reviewed-on: https://gerrit.libreoffice.org/15798
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx index f7f040a06bc4..47b57a6a016c 100644 --- a/libreofficekit/source/gtk/lokdocview.cxx +++ b/libreofficekit/source/gtk/lokdocview.cxx @@ -914,6 +914,8 @@ const char* LOKDocView_Impl::callbackTypeToString(int nType) return "LOK_CALLBACK_STATUS_INDICATOR_SET_VALUE"; case LOK_CALLBACK_STATUS_INDICATOR_FINISH: return "LOK_CALLBACK_STATUS_INDICATOR_FINISH"; + case LOK_CALLBACK_SEARCH_NOT_FOUND: + return "LOK_CALLBACK_SEARCH_NOT_FOUND"; } return 0; } @@ -1006,6 +1008,8 @@ gboolean LOKDocView_Impl::callbackImpl(CallbackData* pCallback) commandChanged(pCallback->m_aPayload); } break; + case LOK_CALLBACK_SEARCH_NOT_FOUND: + break; default: g_assert(false); break; |