[Libreoffice-commits] core.git: sw/uiconfig

andreas kainz (via logerrit) logerrit at kemper.freedesktop.org
Thu May 7 07:35:25 UTC 2020


 sw/uiconfig/swriter/ui/notebookbar.ui         |   26 +++++++++++++--
 sw/uiconfig/swriter/ui/notebookbar_compact.ui |   45 +++++++++++---------------
 2 files changed, 44 insertions(+), 27 deletions(-)

New commits:
commit c437948f6c0d602bb200fc92e80cb73ae8ae5109
Author:     andreas kainz <kainz.a at gmail.com>
AuthorDate: Wed May 6 23:57:08 2020 +0200
Commit:     andreas_kainz <kainz.a at gmail.com>
CommitDate: Thu May 7 09:34:47 2020 +0200

    tdf#127421 Export and Export Direct are now available in NB customize
    
    Change-Id: I85f54f0c8808421bbe7d3c0098add207d36f2b20
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93602
    Tested-by: Jenkins
    Reviewed-by: andreas_kainz <kainz.a at gmail.com>

diff --git a/sw/uiconfig/swriter/ui/notebookbar.ui b/sw/uiconfig/swriter/ui/notebookbar.ui
index ab391766f0c4..a932bc2b7e27 100644
--- a/sw/uiconfig/swriter/ui/notebookbar.ui
+++ b/sw/uiconfig/swriter/ui/notebookbar.ui
@@ -2691,7 +2691,7 @@
                                 <property name="toolbar_style">both-horiz</property>
                                 <property name="show_arrow">False</property>
                                 <child>
-                                  <object class="GtkToolButton" id="File-ExportDirectToPDF1">
+                                  <object class="GtkToolButton" id="File-ExportDirectToPDF">
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
                                     <property name="action_name">.uno:ExportDirectToPDF</property>
@@ -2702,6 +2702,17 @@
                                     <property name="homogeneous">True</property>
                                   </packing>
                                 </child>
+                                <child>
+                                  <object class="GtkToolButton" id="File-ExportToPDF">
+                                    <property name="can_focus">False</property>
+                                    <property name="action_name">.uno:ExportToPDF</property>
+                                    <property name="use_underline">True</property>
+                                  </object>
+                                  <packing>
+                                    <property name="expand">False</property>
+                                    <property name="homogeneous">True</property>
+                                  </packing>
+                                </child>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -2716,7 +2727,7 @@
                                 <property name="toolbar_style">both-horiz</property>
                                 <property name="show_arrow">False</property>
                                 <child>
-                                  <object class="GtkToolButton" id="File-ExportDirectToEPUB1">
+                                  <object class="GtkToolButton" id="File-ExportDirectToEPUB">
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
                                     <property name="action_name">.uno:ExportDirectToEPUB</property>
@@ -2727,6 +2738,17 @@
                                     <property name="homogeneous">True</property>
                                   </packing>
                                 </child>
+                                <child>
+                                  <object class="GtkToolButton" id="File-ExportToEPUB">
+                                    <property name="can_focus">False</property>
+                                    <property name="action_name">.uno:ExportToEPUB</property>
+                                    <property name="use_underline">True</property>
+                                  </object>
+                                  <packing>
+                                    <property name="expand">False</property>
+                                    <property name="homogeneous">True</property>
+                                  </packing>
+                                </child>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
diff --git a/sw/uiconfig/swriter/ui/notebookbar_compact.ui b/sw/uiconfig/swriter/ui/notebookbar_compact.ui
index 06d9500ee72f..fc85c2d1f6da 100644
--- a/sw/uiconfig/swriter/ui/notebookbar_compact.ui
+++ b/sw/uiconfig/swriter/ui/notebookbar_compact.ui
@@ -105,14 +105,12 @@
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-OpenFromWriter">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:OpenFromWriter</property>
       </object>
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-OpenRemote">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:OpenRemote</property>
       </object>
@@ -139,28 +137,24 @@
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-AutoPilotMenu">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:AutoPilotMenu</property>
       </object>
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-OpenTemplate">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:OpenTemplate</property>
       </object>
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-SaveAsTemplate">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:SaveAsTemplate</property>
       </object>
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-NewDoc">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:NewDoc</property>
       </object>
@@ -173,14 +167,12 @@
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-Reload">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:Reload</property>
       </object>
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-VersionDialog">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:VersionDialog</property>
       </object>
@@ -214,14 +206,12 @@
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-SaveACopy">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:SaveACopy</property>
       </object>
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-SaveAll">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:SaveAll</property>
       </object>
@@ -241,21 +231,18 @@
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-CheckOut">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:CheckOut</property>
       </object>
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-CancelCheckOut">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:CancelCheckOut</property>
       </object>
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-CheckIn">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:CheckIn</property>
       </object>
@@ -282,7 +269,6 @@
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-ExportDirectToPDF">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:ExportDirectToPDF</property>
       </object>
@@ -296,7 +282,6 @@
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-ExportDirectToEPUB">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:ExportDirectToEPUB</property>
       </object>
@@ -316,14 +301,12 @@
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-SendMailDocAsOOo">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:SendMailDocAsOOo</property>
       </object>
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-SendMailDocAsMS">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:SendMailDocAsMS</property>
       </object>
@@ -344,42 +327,36 @@
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-NewGlobalDoc1">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:NewGlobalDoc</property>
       </object>
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-NewHtmlDoc">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:NewHtmlDoc</property>
       </object>
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-SendOutlineToStarImpress">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:SendOutlineToStarImpress</property>
       </object>
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-SendOutlineToClipboard">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:SendOutlineToClipboard</property>
       </object>
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-CreateAbstract">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:CreateAbstract</property>
       </object>
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-SendAbstractToStarImpress">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:SendAbstractToStarImpress</property>
       </object>
@@ -392,7 +369,6 @@
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-WebHtml">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:WebHtml</property>
       </object>
@@ -413,7 +389,6 @@
     </child>
     <child>
       <object class="GtkMenuItem" id="MenuFile-Print">
-        <property name="visible">False</property>
         <property name="can_focus">False</property>
         <property name="action_name">.uno:Print</property>
       </object>
@@ -2786,6 +2761,16 @@
                                 <property name="homogeneous">False</property>
                               </packing>
                             </child>
+                            <child>
+                              <object class="GtkToolButton" id="Files-ExportToPDF">
+                                <property name="can_focus">False</property>
+                                <property name="action_name">.uno:ExportToPDF</property>
+                              </object>
+                              <packing>
+                                <property name="expand">False</property>
+                                <property name="homogeneous">False</property>
+                              </packing>
+                            </child>
                           </object>
                           <packing>
                             <property name="expand">False</property>
@@ -2825,6 +2810,16 @@
                                 <property name="homogeneous">False</property>
                               </packing>
                             </child>
+                            <child>
+                              <object class="GtkToolButton" id="Files-ExportToEPUB">
+                                <property name="can_focus">False</property>
+                                <property name="action_name">.uno:ExportToEPUB</property>
+                              </object>
+                              <packing>
+                                <property name="expand">False</property>
+                                <property name="homogeneous">False</property>
+                              </packing>
+                            </child>
                           </object>
                           <packing>
                             <property name="expand">False</property>


More information about the Libreoffice-commits mailing list