Commit Graph

14 Commits

Author SHA1 Message Date
nathan
ad066c6e42 Image scaling + caching + error-icon if problems, fix for windows
'auto'
scaling
2016-09-26 02:06:27 +02:00
nathan
18aa47ae5b trying to get GTK errors solved. ugh. 2016-09-23 14:24:37 +02:00
nathan
3d8459ecc3 Refactored out JavaFX (similar to how SWT was done) so that we can
compile to Java 1.6
2016-09-22 23:56:39 +02:00
nathan
efeda2fac3 Better support for JavaFX/SWT/GTK2/GTK3/AppIndicators. Fixed various
GTK error messages during initialization.
2016-09-22 22:36:04 +02:00
nathan
8c0bfee100 Updated comments for gnome and possible errors 2016-09-22 13:08:07 +02:00
nathan
83cea322f1 Works in UbuntuGnome 2016-09-21 22:32:33 +02:00
nathan
495973d3a7 Switched JNA mode from Proxy -> Direct-Mapping. Direct-Mapping is
significantly faster than Proxy, approaching that of JNI performance.
2016-05-08 15:51:07 +02:00
nathan
189ec064fa Updated GTK threading model to *correctly* execute GTK methods on the
GTK thread. Solves problems (unsurprisingly) with race conditions
 against the native GTK thread.
2016-04-24 17:32:07 +02:00
nathan
6fdbe8ac83 Abstracted 'dispatch(Runnable)' so that all updates to the SystemTray
occur on the dispatch thread. This will resolve any race condition
 issues when creating, then (before it's actually created) trying to
 modify a menu entry.
2016-04-05 14:07:41 +02:00
nathan
a68c79182d Cleaned up memory leaks. Added SystemTray.getStatus(). Cleaned up support for SWT. 2016-02-15 13:27:33 +01:00
nathan
eb8092677d Moved JNA libraries into SystemTray project (it made no sense to have them inside the utils project) 2016-02-14 20:22:55 +01:00
nathan
c1b6c1a723 Added GTK3 support (now libappindicator3 works correctly with regards to showing menu icons). Added support for setting icons via URL and InputStream. Moved all GTK operations to a single thread. Moved error logs from System.err -> logger. Made SystemTray a singleton (it will no longer have the java-side get accidentally garbage collected). Update documentation 2016-02-13 15:06:19 +01:00
nathan
8b109f6d1c Converted SystemTray to use a singleton pattern for ease of use. Icon *must* be set to see it (obviously). Updated Readme.md example. 2016-02-12 02:30:33 +01:00
nathan
801baad635 Added SystemTray.getVersion(), added URL and InputStream (to all methods that previous accepted String) for setting images in the menu/tray. Moved package out of util. 2016-02-12 01:51:15 +01:00