set taskbar button tool tips based on app language

This commit is contained in:
Drew Weymouth
2025-08-08 19:15:46 -07:00
committed by Drew Weymouth
parent 041e4d3ba7
commit d4660075f0
5 changed files with 53 additions and 4 deletions
+8
View File
@@ -83,6 +83,14 @@ func main() {
if err := initWindowsTaskbarIcons(); err != nil {
log.Printf("Error initializing taskbar thumbnail icons: %s", err.Error())
}
if err := windows.SetTaskbarButtonToolTips(
lang.L("Previous"),
lang.L("Next"),
lang.L("Play"),
lang.L("Pause"),
); err != nil {
log.Printf("error initializing taskbar button tool tips: %s", err.Error())
}
}
fyneApp := app.New()