summaryrefslogtreecommitdiff
path: root/sc/uiconfig/scalc
diff options
context:
space:
mode:
authorKira Tubo <kira.tubo@gmail.com>2024-08-29 21:08:26 -0700
committerHeiko Tietze <heiko.tietze@documentfoundation.org>2024-09-04 08:50:25 +0200
commit406f879af36c8cc524d87292ddffca7426811fa0 (patch)
tree981deff9e88c5ac484e680dfa6db202eb74fc6d8 /sc/uiconfig/scalc
parent3c6e5d3750fd9c31bd374808c984374bf30e4d28 (diff)
tdf#157230: Remove redundant Open and Save buttons in notebookbar
In "Tabbed" UI toolbar, remove redundant buttons: - Recent Documents* - Open Remote* - Save As** - Save Remote** *Buttons/functionality already appear in "Open" popup menu **Buttons already appear in "Save" popup menu Affects Writer, Calc, Impress, and Draw toolbars. Change-Id: I0e37adae57333979bfd232e07c772998b91208d1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172622 Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Tested-by: Jenkins
Diffstat (limited to 'sc/uiconfig/scalc')
-rw-r--r--sc/uiconfig/scalc/ui/notebookbar.ui165
1 files changed, 7 insertions, 158 deletions
diff --git a/sc/uiconfig/scalc/ui/notebookbar.ui b/sc/uiconfig/scalc/ui/notebookbar.ui
index fda44c97ec7c..d33fcbd7835b 100644
--- a/sc/uiconfig/scalc/ui/notebookbar.ui
+++ b/sc/uiconfig/scalc/ui/notebookbar.ui
@@ -2131,11 +2131,6 @@
</object>
</child>
</object>
- <object class="GtkImage" id="RecentFilesImg1">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="pixbuf">cmd/sc_recentfilelist.png</property>
- </object>
<object class="GtkImage" id="StatisticsImg">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -2348,75 +2343,6 @@
</packing>
</child>
<child>
- <object class="VclOptionalBox" id="File-Section-Open1">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="valign">center</property>
- <property name="vexpand">True</property>
- <child>
- <object class="GtkBox" id="GroupB3">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="valign">center</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="svtlo-ManagedMenuButton" id="File-RecentFileList1">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="focus_on_click">False</property>
- <property name="receives_default">False</property>
- <property name="action_name">.uno:RecentFileList</property>
- <property name="image">RecentFilesImg1</property>
- <property name="use_underline">True</property>
- </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="LineB3">
- <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="File-OpenRemote1">
- <property name="visible">True</property>
- <property name="action_name">.uno:OpenRemote</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>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">2</property>
- </packing>
- </child>
- <style>
- <class name="priority-5"/>
- </style>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">3</property>
- </packing>
- </child>
- <child>
<object class="VclOptionalBox" id="File-Section-Save">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -2468,84 +2394,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">4</property>
- </packing>
- </child>
- <child>
- <object class="VclOptionalBox" id="File-Section-Save1">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="valign">center</property>
- <property name="vexpand">True</property>
- <child>
- <object class="GtkBox" id="GroupB4">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="valign">center</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="sfxlo-NotebookbarToolBox" id="LineA2">
- <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="File-SaveAs1">
- <property name="visible">True</property>
- <property name="action_name">.uno:SaveAs</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>
- <property name="fill">True</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="sfxlo-NotebookbarToolBox" id="LineB4">
- <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="File-SaveAsRemote1">
- <property name="visible">True</property>
- <property name="action_name">.uno:SaveAsRemote</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>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">2</property>
- </packing>
- </child>
- <style>
- <class name="priority-4"/>
- </style>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">5</property>
+ <property name="position">3</property>
</packing>
</child>
<child>
@@ -2600,7 +2449,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">6</property>
+ <property name="position">4</property>
</packing>
</child>
<child>
@@ -2677,7 +2526,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">7</property>
+ <property name="position">5</property>
</packing>
</child>
<child>
@@ -2732,7 +2581,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">8</property>
+ <property name="position">6</property>
</packing>
</child>
<child>
@@ -2809,7 +2658,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">9</property>
+ <property name="position">7</property>
</packing>
</child>
<child>
@@ -2864,7 +2713,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">10</property>
+ <property name="position">8</property>
</packing>
</child>
<child>
@@ -2941,7 +2790,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">11</property>
+ <property name="position">9</property>
</packing>
</child>
</object>