officecfg/registry/data/org/openoffice/Office/UI/DrawImpressCommands.xcu |   
11 ++++++++++
 sd/uiconfig/sdraw/popupmenu/gluepoint.xml                                |    
1 
 sd/uiconfig/simpress/popupmenu/gluepoint.xml                             |    
1 
 3 files changed, 13 insertions(+)

New commits:
commit 95a21d1cd35ca436c5b4a6d0cd923bfc77a2aa22
Author:     Heiko Tietze <tietze.he...@gmail.com>
AuthorDate: Mon Mar 17 15:28:20 2025 +0100
Commit:     Heiko Tietze <heiko.tie...@documentfoundation.org>
CommitDate: Mon Mar 17 17:28:38 2025 +0100

    Resolves tdf#45864 - Access to glue point deletion from context menu
    
    Function must not be on the toolbar since .uno:Delete removes the whole
    object eventually; and adding a state methode to disable it sounds like
    over-engineering
    
    Change-Id: If22f38cc0ab44c82ea6155647449f6763d39f64f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183033
    Tested-by: Jenkins
    Reviewed-by: Heiko Tietze <heiko.tie...@documentfoundation.org>

diff --git 
a/officecfg/registry/data/org/openoffice/Office/UI/DrawImpressCommands.xcu 
b/officecfg/registry/data/org/openoffice/Office/UI/DrawImpressCommands.xcu
index ddd1bb8da76d..d0cdf85fe3c4 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/DrawImpressCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/DrawImpressCommands.xcu
@@ -242,6 +242,17 @@
           <value>1</value>
         </prop>
       </node>
+      <node oor:name=".uno:GlueDeletePoint" oor:op="replace">
+        <prop oor:name="Label" oor:type="xs:string">
+          <value xml:lang="en-US">Delete Gluepoint</value>
+        </prop>
+        <prop oor:name="TargetURL" oor:type="xs:string">
+          <value>.uno:Delete</value>
+        </prop>
+        <prop oor:name="Properties" oor:type="xs:int">
+          <value>1</value>
+        </prop>
+      </node>
       <node oor:name=".uno:GluePercent" oor:op="replace">
         <prop oor:name="Label" oor:type="xs:string">
           <value xml:lang="en-US">Gluepoint Relative</value>
diff --git a/sd/uiconfig/sdraw/popupmenu/gluepoint.xml 
b/sd/uiconfig/sdraw/popupmenu/gluepoint.xml
index c38a99349714..8a2ec3e527b0 100644
--- a/sd/uiconfig/sdraw/popupmenu/gluepoint.xml
+++ b/sd/uiconfig/sdraw/popupmenu/gluepoint.xml
@@ -9,6 +9,7 @@
 -->
 <menu:menupopup xmlns:menu="http://openoffice.org/2001/menu";>
   <menu:menuitem menu:id=".uno:GlueInsertPoint"/>
+  <menu:menuitem menu:id=".uno:GlueDeletePoint"/>
   <menu:menuseparator/>
   <menu:menuitem menu:id=".uno:GlueEscapeDirectionLeft"/>
   <menu:menuitem menu:id=".uno:GlueEscapeDirectionTop"/>
diff --git a/sd/uiconfig/simpress/popupmenu/gluepoint.xml 
b/sd/uiconfig/simpress/popupmenu/gluepoint.xml
index c38a99349714..8a2ec3e527b0 100644
--- a/sd/uiconfig/simpress/popupmenu/gluepoint.xml
+++ b/sd/uiconfig/simpress/popupmenu/gluepoint.xml
@@ -9,6 +9,7 @@
 -->
 <menu:menupopup xmlns:menu="http://openoffice.org/2001/menu";>
   <menu:menuitem menu:id=".uno:GlueInsertPoint"/>
+  <menu:menuitem menu:id=".uno:GlueDeletePoint"/>
   <menu:menuseparator/>
   <menu:menuitem menu:id=".uno:GlueEscapeDirectionLeft"/>
   <menu:menuitem menu:id=".uno:GlueEscapeDirectionTop"/>

Reply via email to