[fixup] remove 'activate'

This commit is contained in:
Travis McLane
2023-05-10 09:10:03 -05:00
parent 5078e89a71
commit 5129c0f4e2
-21
View File
@@ -390,27 +390,6 @@ func (a *App) Run() error {
return nil
}
// activate is called by the implementation to notify it is ready to run
func (a *App) activate() {
a.info("Starting window(s)")
// run windows
for _, window := range a.windows {
go window.run()
}
a.info("Starting systray(s)")
// run system trays
for _, systray := range a.systemTrays {
go systray.Run()
}
// set the application menu
a.impl.setApplicationMenu(a.ApplicationMenu)
// set the application Icon
a.impl.setIcon(a.options.Icon)
}
func (a *App) handleApplicationEvent(event uint) {
a.applicationEventListenersLock.RLock()
listeners, ok := a.applicationEventListeners[event]