summaryrefslogtreecommitdiff
path: root/modules/bar
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-19 15:34:14 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-19 15:34:14 +1000
commitc34589a23ddffa49854c504a008ea7bcdaf6bec5 (patch)
tree24fc2178adc608c49c1c42c664c31340a1a35564 /modules/bar
parentinternal: change colour palette type name (diff)
downloadcaelestia-shell-c34589a23ddffa49854c504a008ea7bcdaf6bec5.tar.gz
caelestia-shell-c34589a23ddffa49854c504a008ea7bcdaf6bec5.tar.bz2
caelestia-shell-c34589a23ddffa49854c504a008ea7bcdaf6bec5.zip
internal: clean up tray item
Diffstat (limited to 'modules/bar')
-rw-r--r--modules/bar/components/TrayItem.qml12
1 files changed, 2 insertions, 10 deletions
diff --git a/modules/bar/components/TrayItem.qml b/modules/bar/components/TrayItem.qml
index 6618895..2c8fa63 100644
--- a/modules/bar/components/TrayItem.qml
+++ b/modules/bar/components/TrayItem.qml
@@ -19,16 +19,8 @@ MouseArea {
onClicked: event => {
if (event.button === Qt.LeftButton)
modelData.activate();
- else if (modelData.hasMenu)
- menu.open();
- }
-
- // TODO custom menu
- QsMenuAnchor {
- id: menu
-
- menu: root.modelData.menu
- anchor.window: this.QsWindow.window
+ else
+ modelData.secondaryActivate();
}
IconImage {