From 2691b8baa8680d16a5521ce2fda292d872b48d02 Mon Sep 17 00:00:00 2001 From: delthas Date: Fri, 30 Oct 2020 15:28:07 +0100 Subject: [PATCH] fix SetTitle documentation SetTitle is available on both MacOS and Linux. --- systray_nonwindows.go | 2 +- systray_windows.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/systray_nonwindows.go b/systray_nonwindows.go index 2ecc1921..c9162b5c 100644 --- a/systray_nonwindows.go +++ b/systray_nonwindows.go @@ -35,7 +35,7 @@ func SetIcon(iconBytes []byte) { C.setIcon(cstr, (C.int)(len(iconBytes)), false) } -// SetTitle sets the systray title, only available on Mac. +// SetTitle sets the systray title, only available on Mac and Linux. func SetTitle(title string) { C.setTitle(C.CString(title)) } diff --git a/systray_windows.go b/systray_windows.go index 02bf4868..cf9f23b0 100644 --- a/systray_windows.go +++ b/systray_windows.go @@ -850,7 +850,7 @@ func SetTemplateIcon(templateIconBytes []byte, regularIconBytes []byte) { SetIcon(regularIconBytes) } -// SetTitle sets the systray title, only available on Mac. +// SetTitle sets the systray title, only available on Mac and Linux. func SetTitle(title string) { // do nothing }