sd/uiconfig/sdraw/ui/notebookbar.ui                    |    8 ++++----
 sd/uiconfig/simpress/toolbar/singlemode.xml            |    2 +-
 sd/uiconfig/simpress/ui/notebookbar.ui                 |    8 ++++----
 sd/uiconfig/simpress/ui/notebookbar_groupedbar_full.ui |    4 ++--
 4 files changed, 11 insertions(+), 11 deletions(-)

New commits:
commit 2273c72730cc2ab040c191242989315c0805ba4d
Author:     Justin Luth <jl...@mail.com>
AuthorDate: Fri Jun 16 15:36:54 2023 -0400
Commit:     Justin Luth <jl...@mail.com>
CommitDate: Wed Jun 21 20:27:12 2023 +0200

    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 <jl...@mail.com>

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>

Reply via email to