tdf#150471 Remove duplicated Freeze commands from the Tabbed UI

As discussed in the ticket, the commands "Freeze First Column" and "Freeze First Row" are duplicated in the Tabbed UI (under the View tab), since there's already a "Freeze Rows and Columns" command that already offers these 2 options.

So this patch removes the "Freeze First Column" and "Freeze First Row" entries and keep the "Freeze Rows and Columns" comand.

The label of the ".uno:FreezePanes" is also changed to "Freeze Panes" so that it doesn't occupy so much space in the tab. I set the ContextLabel to "Freeze Rows and Columns", so in the menu and context menus, the text shown remains "Freeze Rows and Columns".

Change-Id: I57e6b22b103c2316ca0722878491b719e93b9bb4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149650
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
This commit is contained in:
Rafael Lima
2023-03-30 13:28:39 +00:00
parent 8ad0669955
commit 04ed7cbe53
3 changed files with 443 additions and 98 deletions
@@ -104,7 +104,13 @@
</node>
<node oor:name=".uno:FreezePanes" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
<value xml:lang="en-US">Freeze ~Rows and Columns</value>
<value xml:lang="en-US">Freeze Panes</value>
</prop>
<prop oor:name="ContextLabel" oor:type="xs:string">
<value xml:lang="en-US">Freeze Rows and Columns</value>
</prop>
<prop oor:name="TooltipLabel" oor:type="xs:string">
<value xml:lang="en-US">Freeze Rows and Columns</value>
</prop>
<prop oor:name="Properties" oor:type="xs:int">
<value>1</value>
@@ -8,6 +8,7 @@
*
-->
<menu:menupopup xmlns:menu="http://openoffice.org/2001/menu">
<menu:menuitem menu:id=".uno:FreezePanes"/>
<menu:menuitem menu:id=".uno:FreezePanesColumn"/>
<menu:menuitem menu:id=".uno:FreezePanesRow"/>
</menu:menupopup>
File diff suppressed because it is too large Load Diff