summaryrefslogtreecommitdiff
path: root/sd/uiconfig/simpress/popupmenu/multiselect.xml
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2023-10-17 08:18:17 -0400
committerJustin Luth <jluth@mail.com>2023-10-20 20:25:58 +0200
commit4e871d99ccace244de42c0d5c4bd11611af6ccb2 (patch)
tree51104535f1a8330eeb6410aa9a814d8e24a708bd /sd/uiconfig/simpress/popupmenu/multiselect.xml
parente64f3ab974e2f8c528fef8d75162b82ec0453293 (diff)
tdf#157026 sd notebookbar: add ObjectAlign to MenuTable as popupmenu
The vast majority of this is just eliminating copy/paste, since I have now created a popupmenu.xml list for the popup menu. The "fix" is adding this to the Table menus. .uno:ObjectAlign is basically just a "label". Now it is a label for two different "views": * a toolbar widget dropdown * a menu subcategory Perhaps it is confusing to have one UNO entry serve these two similar purposes? I suppose someone might also complain that a simple <menu:menu menu:id=".uno:ObjectAlign"/> isn't clear that this is a submenu. I considered making mine a new ObjectAlignMenu, but the annoyance of having to create a duplicate string translation in officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu made me just reuse the existing label. Change-Id: I17e037e0c9c5d1f57ac9f174a76cd041983bcea4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157894 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'sd/uiconfig/simpress/popupmenu/multiselect.xml')
-rw-r--r--sd/uiconfig/simpress/popupmenu/multiselect.xml12
1 files changed, 1 insertions, 11 deletions
diff --git a/sd/uiconfig/simpress/popupmenu/multiselect.xml b/sd/uiconfig/simpress/popupmenu/multiselect.xml
index 51f76552d753..1b1e89d09e98 100644
--- a/sd/uiconfig/simpress/popupmenu/multiselect.xml
+++ b/sd/uiconfig/simpress/popupmenu/multiselect.xml
@@ -17,17 +17,7 @@
<menu:menuitem menu:id=".uno:FormatArea"/>
<menu:menuseparator/>
<menu:menuitem menu:id=".uno:DistributeSelection"/>
- <menu:menu menu:id=".uno:ObjectAlign">
- <menu:menupopup>
- <menu:menuitem menu:id=".uno:ObjectAlignLeft"/>
- <menu:menuitem menu:id=".uno:AlignCenter"/>
- <menu:menuitem menu:id=".uno:ObjectAlignRight"/>
- <menu:menuseparator/>
- <menu:menuitem menu:id=".uno:AlignUp"/>
- <menu:menuitem menu:id=".uno:AlignMiddle"/>
- <menu:menuitem menu:id=".uno:AlignDown"/>
- </menu:menupopup>
- </menu:menu>
+ <menu:menu menu:id=".uno:ObjectAlign"/>
<menu:menu menu:id=".uno:ArrangeMenu">
<menu:menupopup>
<menu:menuitem menu:id=".uno:BringToFront"/>