[Lazarus] Patch for TTrayIcon on Ubuntu's Unity

zeljko zeljko at holobit.net
Mon Oct 12 14:49:40 CEST 2015


On 10/12/2015 02:42 PM, Anthony Walter wrote:
> ""Maybe, but only in case if it's easy to extract information if we are
> under unity wm or other wm (I guess that it should not be an issue)."
>
> { UnityAppIndicatorInit returns true if Unity is the current desktop and
>    the required appindicator libraries can be loaded }
>
> function UnityAppIndicatorInit: Boolean;
>
> The relevant HOWTO:
>
> https://github.com/sysrpl/Lazarus.UnityAppIndicators/blob/master/lazarus/lcl/interfaces/gtk2/unitywsctrls.pas#L263-L267
> https://github.com/sysrpl/Lazarus.UnityAppIndicators/blob/master/changes.patch#L18

ok, thanks. Can you provide result of TGtk2WidgetSet.GetWindowManager 
when you running simple app under unity ?

zeljko




More information about the Lazarus mailing list