[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - desktop/source sfx2/source
Pranam Lashkari (via logerrit)
logerrit at kemper.freedesktop.org
Tue Aug 25 13:43:47 UTC 2020
desktop/source/lib/init.cxx | 3 ++-
sfx2/source/control/unoctitm.cxx | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
New commits:
commit c056a7ddd80988c54a1216058ef65eca78818fe9
Author: Pranam Lashkari <lpranam at collabora.com>
AuthorDate: Sat Aug 22 18:48:34 2020 +0530
Commit: Andras Timar <andras.timar at collabora.com>
CommitDate: Tue Aug 25 15:43:06 2020 +0200
LOK: send status of the sidebar
sidebar button did not show status initially
similarly view->sidebar did not show checked/unchecked initially
and same problem can be seen in notebookbar
Change-Id: Ie5fdf298d343435514954efaaebfdc628d4a90fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101182
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Andras Timar <andras.timar at collabora.com>
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 9e3d24ff8973..6f68fe32a6fc 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -2834,7 +2834,8 @@ static void doc_iniUnoCommands ()
OUString(".uno:BorderOuter"),
OUString(".uno:FreezePanes"),
OUString(".uno:FreezePanesColumn"),
- OUString(".uno:FreezePanesRow")
+ OUString(".uno:FreezePanesRow"),
+ OUString(".uno:Sidebar")
};
util::URL aCommandURL;
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 4c86f6eec6a7..64a377668012 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1017,7 +1017,8 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, SfxViewFrame* pViewFra
aEvent.FeatureURL.Path == "AlignDown" ||
aEvent.FeatureURL.Path == "TraceChangeMode" ||
aEvent.FeatureURL.Path == "FormatPaintbrush" ||
- aEvent.FeatureURL.Path == "FreezePanes")
+ aEvent.FeatureURL.Path == "FreezePanes" ||
+ aEvent.FeatureURL.Path == "Sidebar")
{
bool bTemp = false;
aEvent.State >>= bTemp;
More information about the Libreoffice-commits
mailing list