Unfortunately I don't have much info about TrayIcons.
Is it possible to add this Unity support to LCL? The idea sounds good
but the discussion stopped early.
Juha
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
On 11/03/2015 03:17 PM, Anthony Walter wrote:
My patch checks for Unity and KDE desktop. Just remove the KDE check and
it should be good to go. By the way I tested on Mint 13 Cinnamon (based
on 12.04) and it still works.
On Tue, Nov 3, 2015 at 4:37 PM, zeljko wrote:
> I'll try to implement it in lazarus during weekend.
I promise to test it under various Linux desktop systems.
Juha
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
My patch checks for Unity and KDE desktop. Just remove the KDE check and it
should be good to go. By the way I tested on Mint 13 Cinnamon (based on
12.04) and it still works.
https://github.com/sysrpl/Lazarus.UnityAppIndicators/blob/master/lazarus/lcl/interfaces/gtk2/unitywsctrls.pas#L264
To
On 11/03/2015 02:22 PM, Juha Manninen wrote:
Unfortunately I don't have much info about TrayIcons.
Is it possible to add this Unity support to LCL? The idea sounds good
but the discussion stopped early.
Yes it's possible, but wm recognition should be added...eg maybe you run
kde instead of
El 12/10/15 a les 17:53, Anthony Walter ha escrit:
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).
That's good then. I added 'KDE' to the allowed desktops
I create a fix for Lazarus TTrayIcon on Unity. if anyone wants to test it
out or add it to the LCL please do so. The fix is located here:
https://github.com/sysrpl/Lazarus.UnityAppIndicators
To use this fix get the code above and:
Add 'unitywsctrls.pas' to 'lazarus/lcl/interfaces/gtk2'
Apply
A stupid question: what is the best Ubuntu version to test with?
I have avoided Unity desktop so far exactly because of the Lazarus
related problems.
Another question: what about Lazarus built with QT bindings but
running on Unity?
Third question: would it be possible to unite the TrayIcon code
El 12/10/15 a les 09:34, Anthony Walter ha escrit:
A linux x86_64 compiled executable example is included.
FWIW, that executable doesn't show any tray icon in kubuntu 15.04 with
plasma 5.3.2.
As I reported before, trayicons in this environment don't work either
with unpatched lazarus with
On 10/12/2015 10:52 AM, Juha Manninen wrote:
A stupid question: what is the best Ubuntu version to test with?
I have avoided Unity desktop so far exactly because of the Lazarus
related problems.
Another question: what about Lazarus built with QT bindings but
running on Unity?
Don't know, but
On Mon, 12 Oct 2015, Juha Manninen wrote:
A stupid question: what is the best Ubuntu version to test with?
I have avoided Unity desktop so far exactly because of the Lazarus
related problems.
Another question: what about Lazarus built with QT bindings but
running on Unity?
Third question:
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).
That's good then. I added 'KDE' to the allowed desktops when
libappindicator is present with the Gtk2 toolkit.
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
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.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
""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
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
16 matches
Mail list logo