212 Commits
Author SHA1 Message Date
Zoltan PappandGitHub ef1ed2a279 Merge pull request #2 from netbirdio/fix-icon-transparency
Cherry-pick fyne-io#28
2023-10-30 16:20:38 +01:00
pzoli 79563a64c1 Fix icon transparency
Origin: https://github.com/fyne-io/systray/pull/28/commits
2023-10-27 13:49:59 +02:00
Maycon Santos dc8eda872c Wrap setIcon NSImage ops within autoreleasepool pattern
This allow us to prevent memory leak when calling
setIcon many times due to state change

see https://stackoverflow.com/a/25880106
2022-10-12 11:56:58 +02:00
Matt JoinerandGitHub 6065fda28b Merge pull request #232 from y-yagi/fix-build-example
Remove unnecessary backquote from `legacy_appindicator` build flag example
2022-03-29 22:11:05 +11:00
yuuji.yaginuma 6a2cbf5f70 Remove unnecessary backquote from legacy_appindicator build flag example 2022-03-28 13:56:37 +09:00
Seth Wright a957efe6e5 Fix +build lines, remove extraneous pkg-config directive
This commit should make systray build on Ubuntu 20.04 and (hopefully) Debian
11 again. I fumbled the legacy "+build" tag syntax, apparently, and forgot
to remove a pkg-config directive that unconditionally required
libappindicator3 to be installed.
2022-03-02 12:14:44 -05:00
Seth Wright 59ef333add Update CHANGELOG 2022-02-24 09:51:22 -05:00
Seth Wright 73ea9ac2bf Support libayatana-appindicator on Linux
This changes the default behavior to use libayatana-appindicator
instead of libappindicator. If you need to link to the older
libappindicator library, use the build tag "legacy_appindicator":

    go build -tags=legacy_appindicator

Closes #225, #224, and #191.
2022-02-23 13:18:13 -05:00
Seth Wright 098434458a Call out the fact that cgo is required to build 2022-02-22 16:20:44 -05:00
Simon LindholmandSeth Wright 229901a943 Create menu before calling onReady on Windows 2022-02-22 16:12:18 -05:00
Simon LindholmandSeth Wright e849b2a1b8 Fix hiding/showing submenus on Windows 2022-02-22 16:09:50 -05:00
Simon LindholmandSeth Wright e2e5b48057 Fix delFromVisibleItems 2022-02-22 16:05:07 -05:00
083193838b Update systray_linux.c (#200)
Support setting the title on Linux.

Co-authored-by: Seth Wright <seth@getlantern.org>
2022-02-22 16:02:53 -05:00
Joesis 2c0986dda9 Updated changelog for v1.1.0 2020-11-18 02:02:52 -08:00
joesisandGitHub 2ae75a1fb5 Merge pull request #183 from fbrinker/add-linux-submenus
Add submenu support for Linux
2020-11-18 01:59:44 -08:00
joesisandGitHub 5f409f97d7 Merge pull request #181 from fbrinker/add-linux-checkboxes
Add checkbox support for Linux
2020-11-18 01:20:05 -08:00
Florian Brinker cef4562892 Add submenu support for Linux 2020-11-16 23:24:43 +01:00
Florian Brinker 323d5eb3e0 Block event trigger during checkbox change 2020-11-16 23:22:36 +01:00
Florian Brinker 48b2241a2f Add checkbox support for Linux 2020-11-14 23:37:36 +01:00
joesisandGitHub 58b3fe886d Merge pull request #179 from delthas/fix-doc
fix SetTitle documentation
2020-11-01 19:00:32 -08:00
delthas 2691b8baa8 fix SetTitle documentation
SetTitle is available on both MacOS and Linux.
2020-10-30 15:28:07 +01:00
Joesis 0c3c6bb6f5 Updated changelog for v1.0.5 2020-10-18 21:06:36 -07:00
joesisandGitHub 6f4b61075a Merge pull request #173 from getlantern/167-first-submenu
start menu ID with positive, and change the type to uint32
2020-10-18 21:03:25 -07:00
joesisandGitHub 7a15ebe76a Merge pull request #172 from getlantern/169-macos-disable-submenu
Allows disabling items in submenu on macOS
2020-09-14 02:20:14 -07:00
Joesis 79ff146783 start menu ID with positive, and change the type to uint32
To avoid confusing a menu item with id 0 from an nonexistent menu id

Fixes https://github.com/getlantern/systray/issues/167
2020-09-14 01:00:24 -07:00