mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
[V3] Fix Linux systray updates (#4615)
* linux: Refresh the menu when it's set so dbus ever finds out * changelog * obey the rabbit
This commit is contained in:
parent
f5fa1158dc
commit
84fcd705cc
2 changed files with 2 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ After processing, the content will be moved to the main changelog and this file
|
|||
|
||||
## Fixed
|
||||
<!-- Bug fixes -->
|
||||
- Fixed systray menu updates on Linux [#4604](https://github.com/wailsapp/wails/issues/4604) by [@JackDoan](https://github.com/JackDoan)
|
||||
|
||||
## Deprecated
|
||||
<!-- Soon-to-be removed features -->
|
||||
|
|
|
|||
|
|
@ -222,6 +222,7 @@ func (s *linuxSystemTray) setMenu(menu *Menu) {
|
|||
menu.processRadioGroups()
|
||||
s.processMenu(menu, 0)
|
||||
s.menu = menu
|
||||
s.refresh()
|
||||
}
|
||||
|
||||
func (s *linuxSystemTray) positionWindow(window Window, offset int) error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue