From 489da34e9bffb234fa27155cef1931bd6f21dc1d Mon Sep 17 00:00:00 2001 From: Justin Luth Date: Sat, 14 Oct 2023 16:49:56 -0400 Subject: tdf#150466 notebookbar: hide PrintDefault on compact and standardize As in the classic toolbars, do not promote direct printing since it easily leads to mistakes and wasted paper. Additionally, the printer settings is really never needed, so it should not have a prominent place, especially on COMPACT. At the same time, I standardized the File menu: - always include print (especially useful for accessibility) - always use the same order - consistently provide access to print/web preview Change-Id: I9ffbba179206274b5ed1788e496b7c5aa0503726 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157984 Tested-by: Jenkins Reviewed-by: Justin Luth --- sd/uiconfig/sdraw/ui/notebookbar.ui | 9 ++++- sd/uiconfig/sdraw/ui/notebookbar_compact.ui | 39 +++++++++++++++++++--- .../sdraw/ui/notebookbar_groupedbar_compact.ui | 9 ++++- sd/uiconfig/simpress/ui/notebookbar.ui | 9 ++++- sd/uiconfig/simpress/ui/notebookbar_compact.ui | 15 ++++++--- .../simpress/ui/notebookbar_groupedbar_compact.ui | 9 ++++- .../simpress/ui/notebookbar_groupedbar_full.ui | 9 ++++- 7 files changed, 85 insertions(+), 14 deletions(-) (limited to 'sd') diff --git a/sd/uiconfig/sdraw/ui/notebookbar.ui b/sd/uiconfig/sdraw/ui/notebookbar.ui index 4f91cd52e122..eb3f977a15a5 100644 --- a/sd/uiconfig/sdraw/ui/notebookbar.ui +++ b/sd/uiconfig/sdraw/ui/notebookbar.ui @@ -561,9 +561,16 @@ - + True False + .uno:Print + + + + + False + False .uno:PrintDefault diff --git a/sd/uiconfig/sdraw/ui/notebookbar_compact.ui b/sd/uiconfig/sdraw/ui/notebookbar_compact.ui index dc9ecbe73439..3aa52a0ccf82 100644 --- a/sd/uiconfig/sdraw/ui/notebookbar_compact.ui +++ b/sd/uiconfig/sdraw/ui/notebookbar_compact.ui @@ -597,18 +597,25 @@ - False + True False .uno:WebHtml - False + True False .uno:Print + + + False + False + .uno:PrintDefault + + True @@ -2748,6 +2755,28 @@ + True + True + both-horiz + + + True + .uno:WebHtml + + + False + False + + + + + False + True + 1 + + + + True True both-horiz @@ -2765,7 +2794,7 @@ False True - 1 + 2 @@ -2788,7 +2817,7 @@ both-horiz - True + False .uno:PrintDefault @@ -2827,7 +2856,7 @@ False - True + False False .uno:PrinterSetup sfx2/res/symphony/open_more.png diff --git a/sd/uiconfig/sdraw/ui/notebookbar_groupedbar_compact.ui b/sd/uiconfig/sdraw/ui/notebookbar_groupedbar_compact.ui index d306a82252a9..b1f8e937ca7f 100644 --- a/sd/uiconfig/sdraw/ui/notebookbar_groupedbar_compact.ui +++ b/sd/uiconfig/sdraw/ui/notebookbar_groupedbar_compact.ui @@ -797,6 +797,13 @@ False + + + True + False + .uno:WebHtml + + True @@ -806,7 +813,7 @@ - True + False False .uno:PrintDefault diff --git a/sd/uiconfig/simpress/ui/notebookbar.ui b/sd/uiconfig/simpress/ui/notebookbar.ui index 47b3109dd899..cff0d3c1e5bd 100644 --- a/sd/uiconfig/simpress/ui/notebookbar.ui +++ b/sd/uiconfig/simpress/ui/notebookbar.ui @@ -483,9 +483,16 @@ - + True False + .uno:Print + + + + + False + False .uno:PrintDefault diff --git a/sd/uiconfig/simpress/ui/notebookbar_compact.ui b/sd/uiconfig/simpress/ui/notebookbar_compact.ui index 0d3a9cca0a74..f7d65027ae5b 100644 --- a/sd/uiconfig/simpress/ui/notebookbar_compact.ui +++ b/sd/uiconfig/simpress/ui/notebookbar_compact.ui @@ -596,18 +596,25 @@ - False + True False .uno:WebHtml - False + True False .uno:Print + + + False + False + .uno:PrintDefault + + True @@ -3095,7 +3102,7 @@ both-horiz - True + False .uno:PrintDefault @@ -3134,7 +3141,7 @@ False - True + False False .uno:PrinterSetup sfx2/res/symphony/open_more.png diff --git a/sd/uiconfig/simpress/ui/notebookbar_groupedbar_compact.ui b/sd/uiconfig/simpress/ui/notebookbar_groupedbar_compact.ui index f2248d0fd14a..2075f8208d29 100644 --- a/sd/uiconfig/simpress/ui/notebookbar_groupedbar_compact.ui +++ b/sd/uiconfig/simpress/ui/notebookbar_groupedbar_compact.ui @@ -777,6 +777,13 @@ False + + + True + False + .uno:WebHtml + + True @@ -786,7 +793,7 @@ - True + False False .uno:PrintDefault diff --git a/sd/uiconfig/simpress/ui/notebookbar_groupedbar_full.ui b/sd/uiconfig/simpress/ui/notebookbar_groupedbar_full.ui index 1c7cbb0ed2ef..a39708e4aac7 100644 --- a/sd/uiconfig/simpress/ui/notebookbar_groupedbar_full.ui +++ b/sd/uiconfig/simpress/ui/notebookbar_groupedbar_full.ui @@ -842,9 +842,16 @@ - + True False + .uno:Print + + + + + False + False .uno:PrintDefault -- cgit