Commit Graph

129 Commits

Author SHA1 Message Date
nathan
923da17502 Updated builds + build system 2016-02-13 18:51:13 +01:00
nathan
8c3a2a2c0c Updated documentation 2016-02-13 17:47:18 +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
nathan
97ece8af31 Cleaned up readmes
Updated readme

Changed DelayTimer to use Runnable
2015-12-15 01:13:02 +01:00
nathan
6844fd0a44 Updated properties (added annotation), updated readme 2015-11-20 12:25:30 +01:00
nathan
1a28dcb406 Fixed issue #5, fix involves issues surrounding Arch distro's using an old version of libappindicator (which is buggy), and various workarounds necessary to show/edit the system tray 2015-11-15 17:43:55 +01:00
nathan
c1933e6763 Fixed issues with menu's not showing up with certain versions of libappindicator. (Any time the menu is edited, it is recreated). 2015-11-15 14:51:47 +01:00
nathan
6ae7061f2f Changed unref -> ref_sink for GTK menus 2015-11-09 22:17:18 +01:00
nathan
2b6421a45b Updated documentation, uncommented code form debugging 2015-11-09 19:55:46 +01:00
nathan
8713f77c46 Added comments 2015-11-09 19:45:11 +01:00
nathan
e6066371d7 Restructured gtk/swing tray icons. Now support the lowest common denominator. Error output with old/bad versions of appIndicator. Better checking for appindicator libraries. Menus now support icons. Streamlined callbacks 2015-11-09 16:13:57 +01:00
nathan
d131953f1f Code cleanup. Also starts the GTK main loop AFTER the tray icon is created. This is so the title can be accurately set BEFORE it gets added to the screen. This was particularly a problem for gnome-shell (which was a PITA to begin with). 2015-10-29 02:17:25 +01:00
nathan
c8fac55967 Updated to better support gnome-shell desktop environments. 2015-10-28 16:34:27 +01:00
nathan
ac74d8bdd7 GtkSystemTray now uses pure gtk for the menu 2015-10-27 02:31:15 +01:00
nathan
7d2cdf5b1a Moved screen position information into it's own class. Updated/cleaned up code warnings 2015-08-04 21:10:01 +02:00
nathan
c692059150 Fixed issues with loading libappindicator (for incorrect versions), now falls back to GTK. Compiled as java6. 2015-06-28 01:47:02 +02:00
nathan
fd0642bea4 Fixed issue with tray icon size (too large) in windows 2015-01-26 13:55:22 +01:00
nathan
e56ed06314 Updated readme to include various options. Fixed GTK tray (not appindicator). Cleaned up code. Cleaned up positioning. Added MUCH better detection of app-indicator for linux. 2015-01-23 02:53:47 +01:00
nathan
fda29df750 Fixed tooltip alignment on windows 2015-01-23 00:25:35 +01:00
nathan
0065cb259a Fixed issue with GTK enter/leave thread and the main loop 2015-01-22 03:24:18 +01:00
nathan
e18fb6a1cc Fixed resource loading to check thread classloader first 2015-01-15 20:38:27 +01:00
nathan
9a48be4c74 Fixed swing threading issues. Fixed GTK threading issues. Code cleanup 2014-12-12 02:25:50 +01:00
nathan
462e15a291 Modified google code format 2014-11-24 17:40:06 +01:00
nathan
b74c16c209 Applied Google code format. Fixed misc warnings and dead code 2014-11-16 22:01:27 +01:00
nathan
7eb3d26af7 Fixed race condition issue when starting up GTK trays. Changed exectutor service to shutdown on removeTray 2014-11-16 15:27:54 +01:00
nathan
aae320627a Updated license information. Polished release/dist process. Updated readme info 2014-11-04 11:59:26 +01:00
nathan
32ce0f5db9 Initial commit of project 2014-11-03 02:11:03 +01:00