aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.ui
diff options
context:
space:
mode:
authorMike Skec <skec@protonmail.ch>2021-02-17 15:19:47 +1100
committerFelix Queißner <felix@ib-queissner.de>2021-02-17 09:24:05 +0100
commitb82ecad5462eec767e2e3216e9e96dfebf04f1cc (patch)
treeabb3c9ac713aae70d63d496d27348cade698a260 /src/mainwindow.ui
parent9bf17318f91b0d5a42c970491d0963178fd23938 (diff)
downloadkristall-b82ecad5462eec767e2e3216e9e96dfebf04f1cc.tar.gz
Add basic root/parent navigation options to menu, with shortcuts
Diffstat (limited to 'src/mainwindow.ui')
-rw-r--r--src/mainwindow.ui24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mainwindow.ui b/src/mainwindow.ui
index bc503ca..5c11e56 100644
--- a/src/mainwindow.ui
+++ b/src/mainwindow.ui
@@ -222,6 +222,8 @@
<addaction name="actionGo_to_home"/>
<addaction name="actionBackward"/>
<addaction name="actionForward"/>
+ <addaction name="actionRoot"/>
+ <addaction name="actionParent"/>
<addaction name="separator"/>
<addaction name="actionRefresh"/>
<addaction name="separator"/>
@@ -310,6 +312,28 @@
<string>Alt+Right</string>
</property>
</action>
+ <action name="actionRoot">
+ <property name="text">
+ <string>Root</string>
+ </property>
+ <property name="toolTip">
+ <string>Go to the root directory (/)</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+/</string>
+ </property>
+ </action>
+ <action name="actionParent">
+ <property name="text">
+ <string>Parent</string>
+ </property>
+ <property name="toolTip">
+ <string>Go to the parent directory</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+Up</string>
+ </property>
+ </action>
<action name="actionRefresh">
<property name="icon">
<iconset theme="view-refresh"/>