summaryrefslogtreecommitdiff
path: root/sd/UIConfig_sdraw.mk
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_sdraw.mk
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_sdraw.mk')
-rw-r--r--sd/UIConfig_sdraw.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sd/UIConfig_sdraw.mk b/sd/UIConfig_sdraw.mk
index abc068cff737..f6d42acba7e2 100644
--- a/sd/UIConfig_sdraw.mk
+++ b/sd/UIConfig_sdraw.mk
@@ -33,6 +33,7 @@ $(eval $(call gb_UIConfig_add_popupmenufiles,modules/sdraw,\
sd/uiconfig/sdraw/popupmenu/media \
sd/uiconfig/sdraw/popupmenu/multiselect \
sd/uiconfig/sdraw/popupmenu/notebookbar \
+ sd/uiconfig/sdraw/popupmenu/objectalign \
sd/uiconfig/sdraw/popupmenu/oleobject \
sd/uiconfig/sdraw/popupmenu/pagepanemaster \
sd/uiconfig/sdraw/popupmenu/pagepanenoselmaster \