nathan
8d564675f8
Code polish
2016-09-29 02:07:43 +02:00
nathan
bf3cb8de11
Refactored out Menu object (from the SystemTray object). Converted
...
SystemTray into a crossPlatform proxy. WIP submenus
2016-09-29 01:44:11 +02:00
nathan
de8d1d8b07
Fixed swing border/margins for menus/entries
2016-09-28 18:35:25 +02:00
nathan
4b10ff9eac
Added comments
2016-09-28 18:34:38 +02:00
nathan
3673ed878c
Fixed "Status" menu entries so they are consistent with all other
...
entries (in terms of x-platform/type)
2016-09-28 18:34:27 +02:00
nathan
2fdad344c1
Code polish
2016-09-28 18:33:45 +02:00
nathan
e30033c7ff
Fixed order of destroying widgets
2016-09-28 18:33:29 +02:00
nathan
280da3b0b0
Code polish
2016-09-28 17:20:13 +02:00
nathan
e1e0bafd01
Added comments
2016-09-28 17:19:48 +02:00
nathan
83c865a51c
Added setImage from a file
2016-09-28 17:01:11 +02:00
nathan
ddcec4cb68
Refactored out the "menu", on preparation for submenus
2016-09-28 15:33:22 +02:00
nathan
a26bfb3639
Fixed for appIndicators
2016-09-28 14:43:32 +02:00
nathan
cfa9110f9a
Better adding events to GTK
2016-09-28 14:37:22 +02:00
nathan
1885e5c0fd
Tweaked debug logs
2016-09-28 14:35:43 +02:00
nathan
c9b0cce1e3
Refactored status entries, added spacers to menu
2016-09-28 02:51:06 +02:00
nathan
9fdee240f8
Code polish
2016-09-27 13:55:49 +02:00
nathan
bb03e870c7
Added better image scaling options to ImageUtils (for windows) based
...
on detected Windows version. (IE: XP is max 16x16, Win10 is max
256x256. We limit that to 128, but always a power of 2 (so image
scaling won't get TOO bunged up, except for the VERY INSANE
resolution displays, which are likely in the 1% of users)
2016-09-27 01:33:49 +02:00
nathan
9d46adf3f1
Added proper logging for exceptions. Code polish
2016-09-27 00:51:28 +02:00
nathan
34588de6b7
Added 'hasImage()' to menu-entry. Fixed text entry alignment issues
...
for GTK menus
2016-09-27 00:50:51 +02:00
nathan
27fa213fc1
Changed to g_idle_add_full, GTK dispatch now waits for a short time +
...
checks event queue before starting up. AppIndicator now starts up
with a transparent icon
2016-09-26 23:39:17 +02:00
nathan
77b0fc4691
Added vounds checking for FORCE_TRAY_TYPE
2016-09-26 23:38:04 +02:00
nathan
36229e8aaa
Increased library logging for appindicator
2016-09-26 23:32:16 +02:00
nathan
20653c92dd
Fixed issue with cached image extension. Added transparent image
...
generation for menu offset
2016-09-26 23:28:00 +02:00
nathan
de6ef1c038
Added "isDispatch" flag for determining if we are on the dispatch
...
thread or not for GTK applications. This is necessary to prevent bugs
in some linux distributions.
2016-09-26 21:47:32 +02:00
nathan
180d66a7c1
Cleaned up removing menu entry, added exception throwing
2016-09-26 21:46:41 +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
49b0ec0ff2
Prep for release
2016-09-26 03:01:13 +02:00
nathan
ffb5657f61
Code polish
2016-09-26 02:44:36 +02:00
nathan
fb8c5c2378
Fixed JavaFX issues with gnome-shell
2016-09-26 02:43:10 +02:00
nathan
a1fe34992d
Fixed for java 1.6
2016-09-26 02:31:23 +02:00
nathan
ae8177ce07
Use of IO for closing/copying streams
2016-09-26 02:20:36 +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
a985827f5b
Changed out icons for ones that fill the entire space (less padding)
2016-09-25 15:52:15 +02:00
nathan
107757ff68
Cleaned up comments. Fixed gnome-shell detection (accidentally broke it)
2016-09-23 14:26:29 +02:00
nathan
18aa47ae5b
trying to get GTK errors solved. ugh.
2016-09-23 14:24:37 +02:00
nathan
8dc2d9a82a
changed \"\ to \'\ in extension
2016-09-23 14:24:04 +02:00
nathan
f62cb4f4f2
Removed SHELL_RESTART_TIMEOUT_MILLIS
2016-09-23 14:23:40 +02:00
nathan
92ecb56bdc
Added more logging to gnome-shell extension installer
2016-09-23 13:30:52 +02:00
nathan
de46409b8f
Added more detection for specified tray types
2016-09-23 13:28:23 +02:00
nathan
57450fa35b
Cleaned up comments
2016-09-23 13:27:58 +02:00
nathan
488ca5564d
Fixed issues with deteching/loading gnome-shell extension
2016-09-23 13:26:18 +02:00
nathan
619edcb3fe
Cleaned up checks if javaFX/swt is loaded. Added SWT to build process
...
(removed pre-compiled jars)
2016-09-23 13:19:33 +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
3488646034
Added dispatch method for SWT
2016-09-22 22:33:16 +02:00
nathan
6c9aff3529
Removed debug from gnome extension
2016-09-22 22:31:54 +02:00
nathan
eb5315580d
Gnome shell extension can now be reinstalled based on
...
GNOME/SystemTray versions (if they are different, the extension will
re-install)
2016-09-22 22:30:59 +02:00
nathan
a4bad80479
Code cleanup
2016-09-22 21:45:53 +02:00
nathan
fc54a938c0
Updated comments
2016-09-22 20:16:22 +02:00