aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/ContextMenu.qml
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2018-03-10 15:09:31 +0000
committerWeblate <noreply@weblate.org>2018-03-10 15:09:31 +0000
commite823783499a7b2f8c3cbfb24ae428b39311bee5e (patch)
tree74138f1e34b8f090f62bd5412f38b8e185209302 /src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/ContextMenu.qml
parentTranslated using Weblate (Italian) (diff)
parentAdd the beginnings of the new window frame (widgets-based) (diff)
downloadlumina-e823783499a7b2f8c3cbfb24ae428b39311bee5e.tar.gz
lumina-e823783499a7b2f8c3cbfb24ae428b39311bee5e.tar.bz2
lumina-e823783499a7b2f8c3cbfb24ae428b39311bee5e.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/ContextMenu.qml')
-rw-r--r--src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/ContextMenu.qml24
1 files changed, 21 insertions, 3 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/ContextMenu.qml b/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/ContextMenu.qml
index 4ab8e156..ee98a8db 100644
--- a/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/ContextMenu.qml
+++ b/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/ContextMenu.qml
@@ -6,15 +6,33 @@
//===========================================
import QtQuick 2.2
import QtQuick.Window 2.2
-import QtQuick.Controls 1
+import QtQuick.Controls 2
import Lumina.Backend.RootDesktopObject 2.0
+
+
Menu {
id: contextMenu
+
+ MenuItem {
+ text: "Launch Terminal"
+ //iconName: "utilities-terminal"
+ onTriggered: {
+ RootObject.launchApp("application/terminal")
+ }
+ }
+ MenuItem {
+ text: "Launch File Browser"
+ //iconName: "user-home"
+ onTriggered: {
+ RootObject.launchApp("inode/directory")
+ }
+ }
+
MenuItem {
text: "Lock Screen"
- iconName: "system-lock-screen"
+ //iconName: "system-lock-screen"
onTriggered: {
RootObject.lockscreen()
}
@@ -22,7 +40,7 @@ Menu {
MenuItem {
text: "Logout"
- iconName: "system-log-out"
+ //iconName: "system-log-out"
onTriggered: {
RootObject.logout()
}
bgstack15