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

Charlie Reinl Karl.Reinl at ...2345...
Sun Jul 5 23:42:59 CEST 2015


Am Sonntag, den 05.07.2015, 22:56 +0200 schrieb Benoît Minisini:
> Le 05/07/2015 22:03, Benoît Minisini a écrit :
> > Le 05/07/2015 21:34, Jussi Lahtinen a écrit :
> >> Maybe I have misunderstood something...
> >> If I don't check the gb.gui.trayicon, I will get "cannot load the class
> >> 'Trayicon'".
> >> If I do check the gb.gui.trayicon, I will get other error, see the
> >> screenshot.
> >>
> >>
> >> [System]
> >> Gambas=3.7.90
> >> OperatingSystem=Linux
> >> Kernel=3.13.0-37-generic
> >> Architecture=x86_64
> >> Distribution=Linux Mint 17.1 Rebecca
> >> Desktop=GNOME
> >
> > I was just looking for someone that could test with GNOME. :-)
> >
> > Apparently the DBus trayicon detection routine is broken. It should not
> > raise an error, but instead return just that it is not available. Which
> > should not be the case on Gnome... Do you know which trayicon protocol
> > Gnome use?
> >
> 
> OK, it should be fixed in revision #7174. Now the question is: why don't 
> you have a DBus system tray with Gnome?
> 

Salut Benoît,

there is 'something' the rose square, look at the attachment

this is the output:

gb.dbus: start watching connection
gb.dbus: add match:
type='method_call',path='/',destination='org.kde.StatusNotifierItem-6746-1'
gb.dbus: add match:
type='method_call',path='/StatusNotifierItem',destination='org.kde.StatusNotifierItem-6746-1'
gb.dbus: add match:
type='method_call',path='/StatusNotifierItem/menu',destination='org.kde.StatusNotifierItem-6746-1'
gb.dbus: warning: unhandled message: signal sender=org.freedesktop.DBus
-> dest=:1.182 serial=2 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.182"
gb.dbus: warning: unhandled message: signal sender=org.freedesktop.DBus
-> dest=:1.182 serial=3 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=NameAcquired
   string "org.kde.StatusNotifierItem-6746-1"
gb.dbus: warning: unhandled message: signal sender=org.freedesktop.DBus
-> dest=:1.182 serial=5 path=/org/freedesktop/DBus;
interface=org.freedesktop.DBus; member=NameAcquired
   string "org.gambas.gb.dbus.trayicon"
gb.dbus: warning: unhandled message: method call sender=:1.56 ->
dest=:1.182 serial=100 path=/StatusNotifierItem;
interface=org.freedesktop.DBus.Properties; member=GetAll
   string "org.kde.StatusNotifierItem"
gb.dbus: void signature
gb.dbus: remove match:
type='method_call',path='/StatusNotifierItem/menu',destination='org.kde.StatusNotifierItem-6746-1'
gb.dbus: remove match:
type='method_call',path='/StatusNotifierItem',destination='org.kde.StatusNotifierItem-6746-1'
gb.dbus: remove match:
type='method_call',path='/',destination='org.kde.StatusNotifierItem-6746-1'
gb.dbus: stop watching connection


[System]
Gambas=3.7.90			rev.7174
OperatingSystem=Linux
Kernel=3.2.0-86-generic
Architecture=x86
Distribution=Ubuntu 12.04.5 LTS
Desktop=GNOME
Theme=Plastique
Language=de_DE.UTF-8
Memory=3025M

[Libraries]
Cairo=libcairo.so.2.11000.2
Curl=libcurl.so.4.2.0
DBus=libdbus-1.so.3.5.8
GStreamer=libgstreamer-0.10.so.0.30.0
GTK+3=libgtk-3.so.0.400.2
GTK+=libgtk-x11-2.0.so.0.2400.10
Poppler=libpoppler.so.19.0.0
Qt4=libQtCore.so.4.8.1
SDL=libSDL-1.2.so.0.11.3
-- 
Amicalement
Charlie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto vom 2015-07-05 23:35:35.png
Type: image/png
Size: 8841 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20150705/7f4fa9b5/attachment.png>


More information about the User mailing list