summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2023-10-17 17:00:30 -0400
committerJustin Luth <jluth@mail.com>2023-10-18 01:42:32 +0200
commitefafe9b1771b1c20bf27345cafbeb9e1b9e635eb (patch)
tree46ed42354783b79a195bec09f499e9fc5e94f135
parent7acd895d8a6ed16611a20873f3b2216fccef0634 (diff)
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 <jluth@mail.com>
-rw-r--r--sw/uiconfig/swriter/ui/notebookbar.ui36
-rw-r--r--sw/uiconfig/swriter/ui/notebookbar_compact.ui39
2 files changed, 13 insertions, 62 deletions
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
@@ -7540,29 +7540,6 @@
<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>
<property name="show_arrow">False</property>
<child>
@@ -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
@@ -7180,45 +7180,6 @@
</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>
<property name="can_focus">False</property>