summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorJustin Luth <jluth@mail.com>2023-06-16 15:36:54 -0400
committerJustin Luth <jluth@mail.com>2023-06-21 20:27:12 +0200
commit2273c72730cc2ab040c191242989315c0805ba4d (patch)
tree743d81f21da2a5ba6aa4bc3427a82ffdcd665616 /sd
parent22c4df0282dce9d56207a440c523c2f3a16bc9f2 (diff)
tdf#142833 sd notebookbar: There is no PrintPreview, use WebHtml
Well, that surprised me, but there is no print preview available in Draw or Impress. They can only do a pathetic Preview in Web Browser. AFAIAC, this could be removed since it is so useless. But that would leave an empty hole under "Print directly" so for now just substitute something useless for something non-functional. Change-Id: If7fbb1b549c2b24d2ca6f77f14333811c405e465 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153196 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/uiconfig/sdraw/ui/notebookbar.ui8
-rw-r--r--sd/uiconfig/simpress/toolbar/singlemode.xml2
-rw-r--r--sd/uiconfig/simpress/ui/notebookbar.ui8
-rw-r--r--sd/uiconfig/simpress/ui/notebookbar_groupedbar_full.ui4
4 files changed, 11 insertions, 11 deletions
diff --git a/sd/uiconfig/sdraw/ui/notebookbar.ui b/sd/uiconfig/sdraw/ui/notebookbar.ui
index bea7d9e6730e..0d5eb64b3c89 100644
--- a/sd/uiconfig/sdraw/ui/notebookbar.ui
+++ b/sd/uiconfig/sdraw/ui/notebookbar.ui
@@ -554,10 +554,10 @@
</object>
</child>
<child>
- <object class="GtkMenuItem" id="MenuFile-PrintPreview">
+ <object class="GtkMenuItem" id="MenuFile-WebHtml">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="action_name">.uno:PrintPreview</property>
+ <property name="action_name">.uno:WebHtml</property>
</object>
</child>
<child>
@@ -2896,9 +2896,9 @@
<property name="toolbar_style">both-horiz</property>
<property name="show_arrow">False</property>
<child>
- <object class="GtkToolButton" id="File-PrintPreview1">
+ <object class="GtkToolButton" id="File-WebHtml">
<property name="visible">True</property>
- <property name="action_name">.uno:PrintPreview</property>
+ <property name="action_name">.uno:WebHtml</property>
<property name="use_underline">True</property>
</object>
<packing>
diff --git a/sd/uiconfig/simpress/toolbar/singlemode.xml b/sd/uiconfig/simpress/toolbar/singlemode.xml
index 0dd592d4e55d..b86a414ca00e 100644
--- a/sd/uiconfig/simpress/toolbar/singlemode.xml
+++ b/sd/uiconfig/simpress/toolbar/singlemode.xml
@@ -23,7 +23,7 @@
<toolbar:toolbaritem xlink:href=".uno:Save"/>
<toolbar:toolbaritem xlink:href=".uno:ExportDirectToPDF" toolbar:visible="false"/>
<toolbar:toolbaritem xlink:href=".uno:Print"/>
- <toolbar:toolbaritem xlink:href=".uno:PrintPreview" toolbar:visible="false"/>
+ <toolbar:toolbaritem xlink:href=".uno:WebHtml" toolbar:visible="false"/>
<toolbar:toolbarseparator/>
<toolbar:toolbaritem xlink:href=".uno:Undo"/>
<toolbar:toolbaritem xlink:href=".uno:Redo"/>
diff --git a/sd/uiconfig/simpress/ui/notebookbar.ui b/sd/uiconfig/simpress/ui/notebookbar.ui
index 20329c825473..48b3ac1734ac 100644
--- a/sd/uiconfig/simpress/ui/notebookbar.ui
+++ b/sd/uiconfig/simpress/ui/notebookbar.ui
@@ -476,10 +476,10 @@
</object>
</child>
<child>
- <object class="GtkMenuItem" id="MenuFile-PrintPreview">
+ <object class="GtkMenuItem" id="MenuFile-WebHtml">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="action_name">.uno:PrintPreview</property>
+ <property name="action_name">.uno:WebHtml</property>
</object>
</child>
<child>
@@ -2930,9 +2930,9 @@
<property name="toolbar_style">both-horiz</property>
<property name="show_arrow">False</property>
<child>
- <object class="GtkToolButton" id="File-PrintPreview1">
+ <object class="GtkToolButton" id="File-WebHtml">
<property name="visible">True</property>
- <property name="action_name">.uno:PrintPreview</property>
+ <property name="action_name">.uno:WebHtml</property>
<property name="use_underline">True</property>
</object>
<packing>
diff --git a/sd/uiconfig/simpress/ui/notebookbar_groupedbar_full.ui b/sd/uiconfig/simpress/ui/notebookbar_groupedbar_full.ui
index 46074acdafee..1c7bce6406fc 100644
--- a/sd/uiconfig/simpress/ui/notebookbar_groupedbar_full.ui
+++ b/sd/uiconfig/simpress/ui/notebookbar_groupedbar_full.ui
@@ -835,10 +835,10 @@
</object>
</child>
<child>
- <object class="GtkMenuItem" id="PrintPreviewD">
+ <object class="GtkMenuItem" id="WebHtmlD">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="action_name">.uno:PrintPreview</property>
+ <property name="action_name">.uno:WebHtml</property>
</object>
</child>
<child>