[Gambas-user] New system tray icon protocol support, new episode.

Benoît Minisini gambas at ...1...
Mon Jun 29 03:53:23 CEST 2015


Hi,

In revision #7154, I have replaced the gb.form.statusicon component by a 
component named gb.dbus.trayicon.

This new component is now automatically loaded by the GUI components 
when the current desktop is KDE 4 or KDE 5. Otherwise, the old protocol 
is used.

That way, you write your TrayIcon code once, and it will adapt to the 
desktop.

The remaining problems are :

- It works with KDE5 for sure.

- It must be tested with KDE4.

- It does not work with Unity apparently, no idea why.

But the idea is there: find another language on Linux that allows you to 
define a tray icon that automatically adapts to the protocol used by the 
current desktop, with GTK+2, GTK+3, QT4 or QT5! :-)

Regards,

-- 
Benoît Minisini




More information about the User mailing list