Gambas-it

Gambas dal mondo esterno => Mailing List => Topic aperto da: vuott - 29 Giugno 2015, 11:58:06

Titolo: Nuovo supporto del protocollo system tray icon
Inserito da: vuott - 29 Giugno 2015, 11:58:06
Riporto questo messaggio di Minisini:


" 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
"