[Libreoffice-commits] core.git: desktop/source vcl/source
mert (via logerrit)
logerrit at kemper.freedesktop.org
Thu Mar 4 03:36:16 UTC 2021
desktop/source/lib/init.cxx | 1 +
vcl/source/control/notebookbar.cxx | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 94958cc478d9f97b33bc0da654b7bd19c3c99eea
Author: mert <mert.tumer at collabora.com>
AuthorDate: Thu Feb 25 11:41:24 2021 +0300
Commit: Mert Tumer <mert.tumer at collabora.com>
CommitDate: Thu Mar 4 04:35:30 2021 +0100
Init Notebookbar for Online Draw
Signed-off-by: mert <mert.tumer at collabora.com>
Change-Id: I85a25820d3968070dd8a05156b4bb4a1ebe59f99
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111517
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 2b56bdb2112d..5701f5965ce2 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -6382,6 +6382,7 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char
activateNotebookbar(u"Writer");
activateNotebookbar(u"Calc");
activateNotebookbar(u"Impress");
+ activateNotebookbar(u"Draw");
}
return bInitialized;
diff --git a/vcl/source/control/notebookbar.cxx b/vcl/source/control/notebookbar.cxx
index 8506ce965273..f7b58dfc3416 100644
--- a/vcl/source/control/notebookbar.cxx
+++ b/vcl/source/control/notebookbar.cxx
@@ -75,7 +75,8 @@ NotebookBar::NotebookBar(Window* pParent, const OString& rID, const OUString& rU
bool bIsWelded = comphelper::LibreOfficeKit::isActive()
&& (rUIXMLDescription == "modules/swriter/ui/notebookbar.ui"
|| rUIXMLDescription == "modules/scalc/ui/notebookbar.ui"
- || rUIXMLDescription == "modules/simpress/ui/notebookbar.ui");
+ || rUIXMLDescription == "modules/simpress/ui/notebookbar.ui"
+ || rUIXMLDescription == "modules/sdraw/ui/notebookbar.ui");
if (bIsWelded)
{
m_bIsWelded = true;
More information about the Libreoffice-commits
mailing list