[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - desktop/source sfx2/source

Pranav Kant pranavk at collabora.co.uk
Wed Dec 13 19:23:29 UTC 2017


 desktop/source/lib/init.cxx      |    8 +++++++-
 sfx2/source/control/unoctitm.cxx |    8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

New commits:
commit d895dc24654b6dd356dbdf16c8b3e3bd4878e33d
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
    (cherry picked from commit 98da350c7c9bcb96937f1397a34c2c68ede44011)
    Reviewed-on: https://gerrit.libreoffice.org/45941
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 17a731837656..d6f8d8646f8f 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1760,7 +1760,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 c55005d8433d..25bdbbf8788d 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1072,7 +1072,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