systray
This commit is contained in:
@@ -55,6 +55,12 @@ Item {
|
||||
});
|
||||
return true;
|
||||
}
|
||||
if (iconSources[selectedIndex] === "power.png") {
|
||||
ShellStateManager.openPowerMenu({
|
||||
source: "Topbar"
|
||||
});
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@@ -90,7 +96,7 @@ Item {
|
||||
anchors.centerIn: parent
|
||||
selected: topbar.selectedIndex == repeatitem.index
|
||||
iconSource: topbar.iconSources[repeatitem.index]
|
||||
showSoul: !topbar.manager.quickSettingsOpen && !topbar.manager.appLauncherOpen
|
||||
showSoul: !topbar.manager.quickSettingsOpen && !topbar.manager.appLauncherOpen && !topbar.manager.powerMenuOpen
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
@@ -107,6 +113,11 @@ Item {
|
||||
source: "Topbar"
|
||||
});
|
||||
}
|
||||
if (topbar.iconSources[repeatitem.index] === "power.png") {
|
||||
ShellStateManager.openPowerMenu({
|
||||
source: "Topbar"
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user