[Libreoffice-commits] core.git: desktop/source sfx2/source
Pranam Lashkari (via logerrit)
logerrit at kemper.freedesktop.org
Thu Aug 27 22:18:59 UTC 2020
desktop/source/lib/init.cxx | 3 ++-
sfx2/source/control/unoctitm.cxx | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
New commits:
commit fb763b5236c6859290902e69dc31a4793e63146c
Author: Pranam Lashkari <lpranam at collabora.com>
AuthorDate: Sat Aug 22 18:48:34 2020 +0530
Commit: Pranam Lashkari <lpranam at collabora.com>
CommitDate: Fri Aug 28 00:18:11 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>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101509
Tested-by: Jenkins
Reviewed-by: Pranam Lashkari <lpranam at collabora.com>
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 9c8c51c3672b..d7ac2603fab8 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -2825,7 +2825,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 c9cb75dacbf9..c3c48b5305c4 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