Autore Topic: Nuovo supporto del protocollo system tray icon  (Letto 218 volte)

Offline vuott

  • Moderatore globale
  • Senatore Gambero
  • *****
  • Post: 11.723
  • Ne mors quidem nos iunget
    • Mostra profilo
Nuovo supporto del protocollo system tray icon
« il: 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
"
« Chiunque, non ricorrendo lo stato di necessità, nel proprio progetto Gambas fa uso delle istruzioni Shell o Exec, è punito con la sanzione pecuniaria da euro 20,00 a euro 60,00. »