Patch for TTrayIcon on Unity
Original Reporter info from Mantis: sysrpl
-
Reporter name: Anthony Walter
Original Reporter info from Mantis: sysrpl
- Reporter name: Anthony Walter
Description:
This is the patch to fix TTrayIcon Unity. It implements TTrayIcon using the Ubuntu app indicator app. On Gtk2 this patch checks if the app indicator lib is available create creating a TTrayIcon component. If the library is present and all functions load from it correctly new logic is used instead of the original Gtk2 TTrayIcon logic.
More information here:
https://github.com/sysrpl/Lazarus.UnityAppIndicators
Steps to reproduce:
Apply patch and copy unitywsctrls.pas to lcl/interfaces/gtk2/