diff options
author | Vincent Reher <[email protected]> | 2021-11-02 09:11:34 -0700 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2021-12-17 21:45:37 +0900 |
commit | 9cd504156b4fff688cd427af7244f6522f2e5da8 (patch) | |
tree | d514e92ec9441bca8b84aa31a1ee293a31d07186 /konqueror/listview/konq_textview.rc | |
parent | 76fe6863ce1338d0e1dd0a9bc84630187a21ed11 (diff) | |
download | tdebase-9cd504156b4fff688cd427af7244f6522f2e5da8.tar.gz tdebase-9cd504156b4fff688cd427af7244f6522f2e5da8.zip |
Introduce additional sorting / grouping options and actions for Konqueror
listviews, available through new submenu: View => Sort
Options:
(1) "Group Directories First" - Toggle on/off option to group directories
before non-directories. Comparable to iconview's "Folders First" option.
(2) "Group Hidden First" - Toggle on/off option to group hidden entities
(aka dotfiles) before non-hidden.
Option-related settings are stored in config/konqlistviewrc
Actions:
(1) "Reverse Sort Order" - Toggle sort order of the current sort column.
Action bound to key Ctrl+R.
(2) "Alternate Sort Order" - Toggle sorting between 2 most recent sort
columns selected by mouse click. The existing sort order for the
sort columns is preserved. Action bound to key Ctrl+S.
Action-related settings are stored in config/konquerorrc/[Listview_file]
Signed-off-by: Vincent Reher <[email protected]>
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'konqueror/listview/konq_textview.rc')
-rw-r--r-- | konqueror/listview/konq_textview.rc | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/konqueror/listview/konq_textview.rc b/konqueror/listview/konq_textview.rc index 612deb5cb..20b20f451 100644 --- a/konqueror/listview/konq_textview.rc +++ b/konqueror/listview/konq_textview.rc @@ -1,5 +1,5 @@ <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> -<kpartgui name="KonqTextView" version="5"> +<kpartgui name="KonqTextView" version="6"> <MenuBar> <Menu name="edit"><text>&Edit</text> <Menu name="selection"><text>Selection</text> @@ -13,7 +13,15 @@ </Menu> <Menu name="view"><text>&View</text> <Action name="show_dot" /> - <Action name="sort_caseinsensitive"/> + <Menu name="sort"><text>Sort</text> + <Action name="group_directories_first"/> + <Action name="group_hidden_first"/> + <Separator/> + <Action name="sort_caseinsensitive"/> + <Separator/> + <Action name="alternate_sort_order"/> + <Action name="reverse_sort_order"/> + </Menu> <Menu name="listview_show"><text>Show Details</text> <TearOffHandle /> <Action name="show_size"/> |