[Lazarus] Patch for TTrayIcon on Ubuntu's Unity
Luca Olivetti
luca at wetron.es
Mon Oct 12 16:53:32 CEST 2015
El 12/10/15 a les 14:37, Anthony Walter ha escrit:
> The exe is 64 bit and built with the Gtk2 widget set. So the thing to
> test would be if the Qt/KDE desktop normally shows with Lazarus
> applications built the Gtk2 tray icon.
No, as I said, it doesn't.
But, as per
http://blog.martin-graesslin.com/blog/2014/06/where-are-my-systray-icons/
if the gtk2 application uses libappindicator for unity compatibility, it
should also work with plasma.
In fact I checked your code and it only tries to load libappindicator if
XDG_CURRENT_DESKTOP is Unity. With that variable set I can see the tray
icon (note that its normal value is KDE).
Bye
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007
More information about the Lazarus
mailing list