mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Tooltip: different approach to get the current screen.
This commit is contained in:
@@ -14,7 +14,6 @@ import qs.Widgets
|
||||
NBox {
|
||||
id: root
|
||||
|
||||
property ShellScreen screen
|
||||
property string uptimeText: "--"
|
||||
|
||||
RowLayout {
|
||||
@@ -59,7 +58,6 @@ NBox {
|
||||
}
|
||||
NIconButton {
|
||||
icon: "settings"
|
||||
screen: root.screen
|
||||
tooltipText: I18n.tr("tooltips.open-settings")
|
||||
onClicked: {
|
||||
settingsPanel.requestedTab = SettingsPanel.Tab.General
|
||||
@@ -69,7 +67,6 @@ NBox {
|
||||
|
||||
NIconButton {
|
||||
icon: "power"
|
||||
screen: root.screen
|
||||
tooltipText: I18n.tr("tooltips.session-menu")
|
||||
onClicked: {
|
||||
sessionMenuPanel.open()
|
||||
@@ -79,7 +76,6 @@ NBox {
|
||||
|
||||
NIconButton {
|
||||
icon: "close"
|
||||
screen: root.screen
|
||||
tooltipText: I18n.tr("tooltips.close")
|
||||
onClicked: {
|
||||
controlCenterPanel.close()
|
||||
|
||||
Reference in New Issue
Block a user