sw/uiconfig/swriter/ui/notebookbar.ui         |   36 ++++++++----------------
 sw/uiconfig/swriter/ui/notebookbar_compact.ui |   39 --------------------------
 2 files changed, 13 insertions(+), 62 deletions(-)

New commits:
commit efafe9b1771b1c20bf27345cafbeb9e1b9e635eb
Author:     Justin Luth <justin.l...@collabora.com>
AuthorDate: Tue Oct 17 17:00:30 2023 -0400
Commit:     Justin Luth <jl...@mail.com>
CommitDate: Wed Oct 18 01:42:32 2023 +0200

    tdf#127038 sw notebookbar: remove redundant "more fields"
    
    .uno:InsertFieldCtrl includes all the fields plus "more fields".
    While it can be nice to include 1-click access
    to the most common fields, there is no need
    for 1-click access to the rather large "more fields",
    so it has been removed from the tabbed notebookbar ribbons.
    
    Change-Id: I5ebd394106a8d44832adb6dcd598f92e696f48a8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158097
    Tested-by: Jenkins
    Reviewed-by: Justin Luth <jl...@mail.com>

diff --git a/sw/uiconfig/swriter/ui/notebookbar.ui 
b/sw/uiconfig/swriter/ui/notebookbar.ui
index bc79d1ba5b3a..b6a99ef1a79b 100644
--- a/sw/uiconfig/swriter/ui/notebookbar.ui
+++ b/sw/uiconfig/swriter/ui/notebookbar.ui
@@ -7538,29 +7538,6 @@
                             <property name="orientation">vertical</property>
                             <child>
                               <object class="sfxlo-NotebookbarToolBox" 
id="LineB19">
-                                <property name="visible">True</property>
-                                <property name="can_focus">True</property>
-                                <property 
name="toolbar_style">both-horiz</property>
-                                <property name="show_arrow">False</property>
-                                <child>
-                                  <object class="GtkToolButton" 
id="References-InsertField1">
-                                    <property name="visible">True</property>
-                                    <property 
name="action_name">.uno:InsertField</property>
-                                  </object>
-                                  <packing>
-                                    <property name="expand">False</property>
-                                    <property 
name="homogeneous">True</property>
-                                  </packing>
-                                </child>
-                              </object>
-                              <packing>
-                                <property name="expand">False</property>
-                                <property name="fill">True</property>
-                                <property name="position">0</property>
-                              </packing>
-                            </child>
-                            <child>
-                              <object class="sfxlo-NotebookbarToolBox" 
id="LineA18">
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
                                 <property name="toolbar_style">icons</property>
@@ -7585,6 +7562,19 @@
                                     <property 
name="homogeneous">True</property>
                                   </packing>
                                 </child>
+                              </object>
+                              <packing>
+                                <property name="expand">False</property>
+                                <property name="fill">True</property>
+                                <property name="position">0</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <object class="sfxlo-NotebookbarToolBox" 
id="LineA18">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="toolbar_style">icons</property>
+                                <property name="show_arrow">False</property>
                                 <child>
                                   <object class="GtkToolButton" 
id="References-InsertDateField1">
                                     <property name="visible">True</property>
diff --git a/sw/uiconfig/swriter/ui/notebookbar_compact.ui 
b/sw/uiconfig/swriter/ui/notebookbar_compact.ui
index 20a0270a1f39..fec64b30ce38 100644
--- a/sw/uiconfig/swriter/ui/notebookbar_compact.ui
+++ b/sw/uiconfig/swriter/ui/notebookbar_compact.ui
@@ -7179,45 +7179,6 @@
                         <property name="position">9</property>
                       </packing>
                     </child>
-                    <child>
-                      <object class="VclOptionalBox" 
id="References-Section-Field1">
-                        <property name="visible">True</property>
-                        <property name="can_focus">False</property>
-                        <property name="valign">center</property>
-                        <property name="vexpand">True</property>
-                        <child>
-                          <object class="sfxlo-NotebookbarToolBox" 
id="SectionBottom188">
-                            <property name="visible">True</property>
-                            <property name="can_focus">True</property>
-                            <property 
name="toolbar_style">both-horiz</property>
-                            <property name="show_arrow">False</property>
-                            <child>
-                              <object class="GtkToolButton" 
id="References-InsertField">
-                                <property name="visible">True</property>
-                                <property 
name="action_name">.uno:InsertField</property>
-                              </object>
-                              <packing>
-                                <property name="expand">False</property>
-                                <property name="homogeneous">True</property>
-                              </packing>
-                            </child>
-                          </object>
-                          <packing>
-                            <property name="expand">False</property>
-                            <property name="fill">True</property>
-                            <property name="position">1</property>
-                          </packing>
-                        </child>
-                        <style>
-                          <class name="priority-5"/>
-                        </style>
-                      </object>
-                      <packing>
-                        <property name="expand">False</property>
-                        <property name="fill">True</property>
-                        <property name="position">10</property>
-                      </packing>
-                    </child>
                     <child>
                       <object class="VclOptionalBox" 
id="References-Section-Bibliothek">
                         <property name="visible">True</property>

Reply via email to