[Libreoffice-commits] core.git: desktop/source sfx2/source
Pranav Kant
pranavk at collabora.co.uk
Wed Dec 6 12:06:27 UTC 2017
desktop/source/lib/init.cxx | 8 +++++++-
sfx2/source/control/unoctitm.cxx | 8 +++++++-
2 files changed, 14 insertions(+), 2 deletions(-)
New commits:
commit 98da350c7c9bcb96937f1397a34c2c68ede44011
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Wed Dec 6 17:32:53 2017 +0530
lokdialog: State change events for dialogs uno commands
Change-Id: I92f60e717cd2a0695c8b86b103076d26c0c22cef
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index b5bc0f56a845..94afb956ebc7 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1741,7 +1741,13 @@ static void doc_iniUnoCommands ()
OUString(".uno:NextTrackedChange"),
OUString(".uno:PreviousTrackedChange"),
OUString(".uno:AcceptAllTrackedChanges"),
- OUString(".uno:RejectAllTrackedChanges")
+ OUString(".uno:RejectAllTrackedChanges"),
+ OUString(".uno:TableDialog"),
+ OUString(".uno:FormatCellDialog"),
+ OUString(".uno:FontDialog"),
+ OUString(".uno:ParagraphDialog"),
+ OUString(".uno:OutlineBullet"),
+ OUString(".uno:InsertIndexesEntry")
};
util::URL aCommandURL;
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index af1df14d68a8..9fd42581036f 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1085,7 +1085,13 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c
aEvent.FeatureURL.Path == "SortAscending" ||
aEvent.FeatureURL.Path == "SortDescending" ||
aEvent.FeatureURL.Path == "AcceptAllTrackedChanges" ||
- aEvent.FeatureURL.Path == "RejectAllTrackedChanges")
+ aEvent.FeatureURL.Path == "RejectAllTrackedChanges" ||
+ aEvent.FeatureURL.Path == "TableDialog" ||
+ aEvent.FeatureURL.Path == "FormatCellDialog" ||
+ aEvent.FeatureURL.Path == "FontDialog" ||
+ aEvent.FeatureURL.Path == "ParagraphDialog" ||
+ aEvent.FeatureURL.Path == "OutlineBullet" ||
+ aEvent.FeatureURL.Path == "InsertIndexesEntry")
{
aBuffer.append(aEvent.IsEnabled ? OUString("enabled") : OUString("disabled"));
More information about the Libreoffice-commits
mailing list