From fb4cf97f3d6a1efc3b3914067ebff304bb45ccf1 Mon Sep 17 00:00:00 2001
From: Pranam Lashkari <lpranam@collabora.com>
Date: Fri, 1 Apr 2022 00:29:15 +0530
Subject: keep draw and impress sidebar page setup different in sidebar

in draw sidebar "Page" deck displayed title "Slide"

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: Iea7c95bc8c7ef2054c04c6cae77a254c969e1156
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132368
Tested-by: Jenkins
---
 .../data/org/openoffice/Office/UI/Sidebar.xcu      | 31 +++++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)

diff --git a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
index 0200d229a4d1..ad61ee9033d6 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
@@ -901,7 +901,7 @@
         </prop>
         <prop oor:name="ContextList">
           <value oor:separator=";">
-            DrawImpress, DrawPage,        visible, .uno:PageSetup  ;
+            Impress,     DrawPage,        visible, .uno:PageSetup  ;
             DrawImpress, default,         visible, .uno:PageSetup  ;
             DrawImpress, HandoutPage,     visible, .uno:PageSetup  ;
             DrawImpress, NotesPage,       visible, .uno:PageSetup  ;
@@ -920,6 +920,35 @@
         </prop>
       </node>
 
+      <node oor:name="DrawPageDeck" oor:op="replace">
+        <prop oor:name="Title" oor:type="xs:string">
+          <value xml:lang="en-US">Page</value>
+        </prop>
+        <prop oor:name="TitleBarIsOptional" oor:type="xs:boolean">
+          <value>false</value>
+        </prop>
+        <prop oor:name="Id" oor:type="xs:string">
+          <value>DrawPageDeck</value>
+        </prop>
+        <prop oor:name="DeckId" oor:type="xs:string">
+          <value>PropertyDeck</value>
+        </prop>
+        <prop oor:name="ContextList">
+          <value oor:separator=";">
+            Draw,        DrawPage,        visible, .uno:PageSetup  ;
+          </value>
+        </prop>
+        <prop oor:name="ImplementationURL" oor:type="xs:string">
+          <value>private:resource/toolpanel/SdPanelFactory/SlideBackgroundPanel</value>
+        </prop>
+        <prop oor:name="OrderIndex" oor:type="xs:int">
+          <value>100</value>
+        </prop>
+        <prop oor:name="WantsAWT" oor:type="xs:boolean">
+          <value>false</value>
+        </prop>
+      </node>
+
       <node oor:name="SdLayoutsPanel" oor:op="replace">
         <prop oor:name="Title" oor:type="xs:string">
           <value xml:lang="en-US">Layouts</value>
-- 
cgit