summaryrefslogtreecommitdiff
path: root/sc/uiconfig/scalc/ui
diff options
context:
space:
mode:
authorJustin Luth <jluth@mail.com>2023-06-21 11:40:03 -0400
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-06-22 18:34:24 +0200
commit1310ce65f18c0b03051c6f23e40b8b39b8053fec (patch)
tree3346e822e76e54a26679627326a5b9c1b256cae8 /sc/uiconfig/scalc/ui
parent59380e2b0933b0aa6d0f5c3c88d47e751fe31616 (diff)
tdf#147056 sc: convert xml menu to popupmenu .uno:PrintRangesMenu
The labelling in the notebookbar left much to be desired when adding the print ranges separately in the "context menus". Making this into a proper submenu fixes the problem. Thanks to Maxim for reviewing and for the commit template: commit 0e7cd653ea90da388820220bf6a3eb140b57bbd6 Author: Maxim Monastirsky on Mon Jan 25 01:09:03 2016 +0200 tdf#86567 Dropdown for conditional formatting Change-Id: If92836ee29d322f5a2fca1e27d2e034e5cc995e5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153402 Tested-by: Justin Luth <jluth@mail.com> Reviewed-by: Justin Luth <jluth@mail.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sc/uiconfig/scalc/ui')
-rw-r--r--sc/uiconfig/scalc/ui/notebookbar.ui25
-rw-r--r--sc/uiconfig/scalc/ui/notebookbar_compact.ui25
-rw-r--r--sc/uiconfig/scalc/ui/notebookbar_groupedbar_compact.ui25
-rw-r--r--sc/uiconfig/scalc/ui/notebookbar_groupedbar_full.ui25
4 files changed, 8 insertions, 92 deletions
diff --git a/sc/uiconfig/scalc/ui/notebookbar.ui b/sc/uiconfig/scalc/ui/notebookbar.ui
index 0adc829feab4..5f9ea5dff8cc 100644
--- a/sc/uiconfig/scalc/ui/notebookbar.ui
+++ b/sc/uiconfig/scalc/ui/notebookbar.ui
@@ -1380,31 +1380,10 @@
</object>
</child>
<child>
- <object class="GtkMenuItem" id="MenuPage-DefinePrintArea">
+ <object class="GtkMenuItem" id="MenuPage-PrintRangesMenu">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="action_name">.uno:DefinePrintArea</property>
- </object>
- </child>
- <child>
- <object class="GtkMenuItem" id="MenuPage-AddPrintArea">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:AddPrintArea</property>
- </object>
- </child>
- <child>
- <object class="GtkMenuItem" id="MenuPage-EditPrintArea">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:EditPrintArea</property>
- </object>
- </child>
- <child>
- <object class="GtkMenuItem" id="MenuPage-DeletePrintArea">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:DeletePrintArea</property>
+ <property name="action_name">.uno:PrintRangesMenu</property>
</object>
</child>
<child>
diff --git a/sc/uiconfig/scalc/ui/notebookbar_compact.ui b/sc/uiconfig/scalc/ui/notebookbar_compact.ui
index 8991949ac917..5da5b2f23216 100644
--- a/sc/uiconfig/scalc/ui/notebookbar_compact.ui
+++ b/sc/uiconfig/scalc/ui/notebookbar_compact.ui
@@ -1542,31 +1542,10 @@
</object>
</child>
<child>
- <object class="GtkMenuItem" id="DefinePrintAreaD">
+ <object class="GtkMenuItem" id="PrintRangesMenu">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="action_name">.uno:DefinePrintArea</property>
- </object>
- </child>
- <child>
- <object class="GtkMenuItem" id="AddPrintAreaD">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:AddPrintArea</property>
- </object>
- </child>
- <child>
- <object class="GtkMenuItem" id="EditPrintAreaD">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:EditPrintArea</property>
- </object>
- </child>
- <child>
- <object class="GtkMenuItem" id="DeletePrintAreaD">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:DeletePrintArea</property>
+ <property name="action_name">.uno:PrintRangesMenu</property>
</object>
</child>
<child>
diff --git a/sc/uiconfig/scalc/ui/notebookbar_groupedbar_compact.ui b/sc/uiconfig/scalc/ui/notebookbar_groupedbar_compact.ui
index dc0bb54cdc2f..94f115231801 100644
--- a/sc/uiconfig/scalc/ui/notebookbar_groupedbar_compact.ui
+++ b/sc/uiconfig/scalc/ui/notebookbar_groupedbar_compact.ui
@@ -451,31 +451,10 @@
</object>
</child>
<child>
- <object class="GtkMenuItem" id="MenuEdit-DefinePrintArea">
+ <object class="GtkMenuItem" id="MenuEdit-PrintRangesMenu">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="action_name">.uno:DefinePrintArea</property>
- </object>
- </child>
- <child>
- <object class="GtkMenuItem" id="MenuEdit-AddPrintArea">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:AddPrintArea</property>
- </object>
- </child>
- <child>
- <object class="GtkMenuItem" id="MenuEdit-EditPrintArea">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:EditPrintArea</property>
- </object>
- </child>
- <child>
- <object class="GtkMenuItem" id="MenuEdit-DeletePrintArea">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:DeletePrintArea</property>
+ <property name="action_name">.uno:PrintRangesMenu</property>
</object>
</child>
<child>
diff --git a/sc/uiconfig/scalc/ui/notebookbar_groupedbar_full.ui b/sc/uiconfig/scalc/ui/notebookbar_groupedbar_full.ui
index 9520227fb4be..9e732516d85c 100644
--- a/sc/uiconfig/scalc/ui/notebookbar_groupedbar_full.ui
+++ b/sc/uiconfig/scalc/ui/notebookbar_groupedbar_full.ui
@@ -1142,31 +1142,10 @@
</object>
</child>
<child>
- <object class="GtkMenuItem" id="MenuEdit-DefinePrintArea">
+ <object class="GtkMenuItem" id="MenuEdit-PrintRangesMenu">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="action_name">.uno:DefinePrintArea</property>
- </object>
- </child>
- <child>
- <object class="GtkMenuItem" id="MenuEdit-AddPrintArea">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:AddPrintArea</property>
- </object>
- </child>
- <child>
- <object class="GtkMenuItem" id="MenuEdit-EditPrintArea">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:EditPrintArea</property>
- </object>
- </child>
- <child>
- <object class="GtkMenuItem" id="MenuEdit-DeletePrintArea">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="action_name">.uno:DeletePrintArea</property>
+ <property name="action_name">.uno:PrintRangesMenu</property>
</object>
</child>
<child>