Commit Graph

13 Commits

Author SHA1 Message Date
nathan
ddcec4cb68 Refactored out the "menu", on preparation for submenus 2016-09-28 15:33:22 +02:00
nathan
c9b0cce1e3 Refactored status entries, added spacers to menu 2016-09-28 02:51:06 +02:00
nathan
19eb4df547 Added comments 2016-09-26 21:45:37 +02:00
nathan
6a9b606e51 Fixed image scaling query for Ubuntu 16.06, changed all debug logs to
'debug'. Added a separate menu entry size (independent of tray size)
2016-09-26 20:56:42 +02:00
nathan
ad066c6e42 Image scaling + caching + error-icon if problems, fix for windows
'auto'
scaling
2016-09-26 02:06:27 +02:00
nathan
5b469b65ed Added comments for bugs on linux 2016-09-22 15:33:02 +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
5c2dc1fdc6 code polish 2016-02-21 00:55:54 +01:00
nathan
a68c79182d Cleaned up memory leaks. Added SystemTray.getStatus(). Cleaned up support for SWT. 2016-02-15 13:27:33 +01:00
nathan
3507869c35 Removed checked expections (now they are unchecked). Added better detection of JavaFX. 2016-02-14 17:51:35 +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