summaryrefslogtreecommitdiff
path: root/sw/uiconfig
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2022-03-12 02:07:46 -0900
committerJim Raykowski <raykowj@gmail.com>2022-03-16 08:42:34 +0100
commitb802cecbc0f57d0ba0d70434cf619a7e91c7393f (patch)
tree120047fe8d6849f5d7db5ea601f98bfd06eb7a90 /sw/uiconfig
parent2e8cbf38b760d2d5d76048542f15962b94acc03a (diff)
tdf#86395 tdf#104253 tdf#147658 tdf#135043 SwNavigator sort enhancement
Provides for sorting content members by order in document or alphabetically. The option to sort comment and footnote content types members alphabetically is not done by this patch. Change-Id: If68c08bb0f1035b32cd1dad1d5bd08a340834b49 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131448 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sw/uiconfig')
-rw-r--r--sw/uiconfig/swriter/ui/navigatorcontextmenu.ui36
1 files changed, 22 insertions, 14 deletions
diff --git a/sw/uiconfig/swriter/ui/navigatorcontextmenu.ui b/sw/uiconfig/swriter/ui/navigatorcontextmenu.ui
index 5cda6038e110..e39368556fed 100644
--- a/sw/uiconfig/swriter/ui/navigatorcontextmenu.ui
+++ b/sw/uiconfig/swriter/ui/navigatorcontextmenu.ui
@@ -197,20 +197,6 @@
</object>
</child>
<child>
- <object class="GtkMenuItem" id="1">
- <property name="visible">True</property>
- <property name="can-focus">False</property>
- <property name="label" translatable="yes" context="navigatorcontextmenu|STR_OUTLINE_LEVEL">Outline Level</property>
- <property name="use-underline">True</property>
- <child type="submenu">
- <object class="GtkMenu" id="outlinelevel">
- <property name="visible">True</property>
- <property name="can-focus">False</property>
- </object>
- </child>
- </object>
- </child>
- <child>
<object class="GtkMenuItem" id="4">
<property name="visible">True</property>
<property name="can-focus">False</property>
@@ -329,12 +315,34 @@
</object>
</child>
<child>
+ <object class="GtkCheckMenuItem" id="sort">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="label" translatable="yes" context="navigatorcontextmenu|STR_SORT_ALPHABETICALLY">Sort Alphabetically</property>
+ <property name="use-underline">True</property>
+ </object>
+ </child>
+ <child>
<object class="GtkSeparatorMenuItem">
<property name="visible">True</property>
<property name="can-focus">False</property>
</object>
</child>
<child>
+ <object class="GtkMenuItem" id="1">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="label" translatable="yes" context="navigatorcontextmenu|STR_OUTLINE_LEVEL">Outline Level</property>
+ <property name="use-underline">True</property>
+ <child type="submenu">
+ <object class="GtkMenu" id="outlinelevel">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
<object class="GtkMenuItem" id="2">
<property name="visible">True</property>
<property name="can-focus">False</property>