Kaydet (Commit) 6b410398 authored tarafından Pranav Kant's avatar Pranav Kant

gtktiledviewer: enable comment sidebar for all doctypes

Impress was the only doctype remaining which didn't have comments api
yet, but now it does

Change-Id: I4e287301e879dff1c29c26880305505466ceaba4
üst fbb17135
...@@ -1132,9 +1132,7 @@ static void initWindow(TiledWindow& rWindow) ...@@ -1132,9 +1132,7 @@ static void initWindow(TiledWindow& rWindow)
g_object_get(G_OBJECT(rWindow.m_pDocView), "tiled-annotations", &bTiledAnnotations, nullptr); g_object_get(G_OBJECT(rWindow.m_pDocView), "tiled-annotations", &bTiledAnnotations, nullptr);
// comments api implemented only for writer, calc as of now // comments api implemented only for writer, calc as of now
if (!bTiledAnnotations && pDocument && if (!bTiledAnnotations && pDocument)
(pDocument->pClass->getDocumentType(pDocument) == LOK_DOCTYPE_TEXT ||
pDocument->pClass->getDocumentType(pDocument) == LOK_DOCTYPE_SPREADSHEET))
{ {
if (!rWindow.m_pCommentsSidebar) if (!rWindow.m_pCommentsSidebar)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment