diff options
author | Ken Moore <ken@ixsystems.com> | 2017-11-16 16:49:55 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-11-16 16:49:55 -0500 |
commit | f741ebb9536522a12ce63a9e6f93aaf44905531a (patch) | |
tree | 7362480f8cf6189c53ae2d8d5383466b3d9e892c /src-qt5/core/lumina-desktop-unified/src-desktop | |
parent | Get more of the new QML interface working for Lumina 2. (diff) | |
download | lumina-f741ebb9536522a12ce63a9e6f93aaf44905531a.tar.gz lumina-f741ebb9536522a12ce63a9e6f93aaf44905531a.tar.bz2 lumina-f741ebb9536522a12ce63a9e6f93aaf44905531a.zip |
Minor cleanup. Get icons working on the context menu.
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/src-desktop')
-rw-r--r-- | src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/ContextMenu.qml | 10 |
1 files changed, 2 insertions, 8 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 ad584f76..4ab8e156 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 @@ -12,9 +12,9 @@ import Lumina.Backend.RootDesktopObject 2.0 Menu { id: contextMenu - //closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside MenuItem { text: "Lock Screen" + iconName: "system-lock-screen" onTriggered: { RootObject.lockscreen() } @@ -22,13 +22,7 @@ Menu { MenuItem { text: "Logout" - //iconName: "system-log-out" - /*indicator: Image{ - asynchronous: true - //autoTransform: true - //source: "image://theme/system-logout" - source: "file:///usr/local/share/icons/material-design-light/scalable/actions/system-log-out.svg" - }*/ + iconName: "system-log-out" onTriggered: { RootObject.logout() } |