mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-01 18:15:41 +00:00
Tooltip: Refactoring in a single global tooltip.
This commit is contained in:
@@ -39,6 +39,7 @@ import qs.Modules.Notification
|
||||
import qs.Modules.OSD
|
||||
import qs.Modules.Settings
|
||||
import qs.Modules.Toast
|
||||
import qs.Modules.Tooltip
|
||||
import qs.Modules.Wallpaper
|
||||
|
||||
ShellRoot {
|
||||
@@ -50,6 +51,10 @@ ShellRoot {
|
||||
Bar {}
|
||||
Dock {}
|
||||
|
||||
Tooltip {
|
||||
id: globalTooltip
|
||||
}
|
||||
|
||||
Notification {
|
||||
id: notification
|
||||
}
|
||||
@@ -115,6 +120,7 @@ ShellRoot {
|
||||
Component.onCompleted: {
|
||||
// Save a ref. to our lockScreen so we can access it easily
|
||||
PanelService.lockScreen = lockScreen
|
||||
PanelService.tooltip = globalTooltip
|
||||
|
||||
BarWidgetRegistry.init()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user