summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJustin Luth <jluth@mail.com>2023-06-16 16:52:58 -0400
committerJustin Luth <jluth@mail.com>2023-06-17 01:15:36 +0200
commit506db23af4da2c5c8775fb0fd6fb9b8668e2fe86 (patch)
treec4bbc4dc66f6b46010478afb66e3053dea06b441 /sc
parent56095552d34180260113d4c990401eb279395a5a (diff)
tdf#118335 notebookbar: set visible false for PrintPreview in MenuFile
The label for "Print Preview" comes from ContextLabel in these menus - and it displays "Close Preview" even if the print preview is not active. The PrintPreview buttons in the notebookbar ribbon itself work fine. So just hide the menu ones for now. Perhaps that is not good for accessibility, but I would imagine accessibility people would stick with the traditional menu anyway, since the notebookbar is also horrendous in many other ways for accessiblity. The user can turn this back on again if they want. Customize - Notebookbar - File Tab | File | Menu File Change-Id: I807941650295132c9e15f04094cece26246318d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153199 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/uiconfig/scalc/ui/notebookbar.ui2
-rw-r--r--sc/uiconfig/scalc/ui/notebookbar_compact.ui2
-rw-r--r--sc/uiconfig/scalc/ui/notebookbar_groupedbar_compact.ui2
-rw-r--r--sc/uiconfig/scalc/ui/notebookbar_groupedbar_full.ui2
4 files changed, 4 insertions, 4 deletions
diff --git a/sc/uiconfig/scalc/ui/notebookbar.ui b/sc/uiconfig/scalc/ui/notebookbar.ui
index fc1e1cb91b75..0adc829feab4 100644
--- a/sc/uiconfig/scalc/ui/notebookbar.ui
+++ b/sc/uiconfig/scalc/ui/notebookbar.ui
@@ -499,7 +499,7 @@
</child>
<child>
<object class="GtkMenuItem" id="MenuFile-PrintPreview">
- <property name="visible">True</property>
+ <property name="visible">False</property>
<property name="can_focus">False</property>
<property name="action_name">.uno:PrintPreview</property>
</object>
diff --git a/sc/uiconfig/scalc/ui/notebookbar_compact.ui b/sc/uiconfig/scalc/ui/notebookbar_compact.ui
index b95915468420..8991949ac917 100644
--- a/sc/uiconfig/scalc/ui/notebookbar_compact.ui
+++ b/sc/uiconfig/scalc/ui/notebookbar_compact.ui
@@ -739,7 +739,7 @@
</child>
<child>
<object class="GtkMenuItem" id="MenuFile-PrintPreview">
- <property name="visible">True</property>
+ <property name="visible">False</property>
<property name="can_focus">False</property>
<property name="action_name">.uno:PrintPreview</property>
</object>
diff --git a/sc/uiconfig/scalc/ui/notebookbar_groupedbar_compact.ui b/sc/uiconfig/scalc/ui/notebookbar_groupedbar_compact.ui
index 4b8a5dfe8309..dc0bb54cdc2f 100644
--- a/sc/uiconfig/scalc/ui/notebookbar_groupedbar_compact.ui
+++ b/sc/uiconfig/scalc/ui/notebookbar_groupedbar_compact.ui
@@ -745,7 +745,7 @@
</child>
<child>
<object class="GtkMenuItem" id="MenuFile-PrintPreview">
- <property name="visible">True</property>
+ <property name="visible">False</property>
<property name="can_focus">False</property>
<property name="action_name">.uno:PrintPreview</property>
</object>
diff --git a/sc/uiconfig/scalc/ui/notebookbar_groupedbar_full.ui b/sc/uiconfig/scalc/ui/notebookbar_groupedbar_full.ui
index fe46648df3b1..9520227fb4be 100644
--- a/sc/uiconfig/scalc/ui/notebookbar_groupedbar_full.ui
+++ b/sc/uiconfig/scalc/ui/notebookbar_groupedbar_full.ui
@@ -1323,7 +1323,7 @@
</child>
<child>
<object class="GtkMenuItem" id="MenuFile-PrintPreview">
- <property name="visible">True</property>
+ <property name="visible">False</property>
<property name="can_focus">False</property>
<property name="action_name">.uno:PrintPreview</property>
</object>