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

2015-07-05 Thread Jussi Lahtinen
Now I see the trayicon, but it ignores MouseUp event (it does not raise). Also I got this: "sni-qt/32735" WARN 04:33:30.371 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE Jussi On Sun, Jul 5, 2015 at 11:56 PM, Benoît Minisini < gam...@users.sourceforge.net> wrot

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

2015-07-05 Thread Jussi Lahtinen
> 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

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

2015-07-05 Thread Charlie Reinl
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 > >> 'Trayico

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

2015-07-05 Thread 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

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

2015-07-05 Thread Benoît Minisini
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 > Operat

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

2015-07-05 Thread Jussi Lahtinen
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 Dis

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

2015-07-04 Thread Fabien Bodard
Le 4 juil. 2015 14:34, "Benoît Minisini" a écrit : > > Le 30/06/2015 21:33, Adrien Prokopowicz a écrit : > > > > Well, I think the only reliable way to tell is to actually check the > > session bus to see if the StatusNotifierHost is present. > > > > What don't you like in having to load gb.dbus t

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

2015-07-04 Thread Lewis Balentine
Perseverance has its rewards. On 07/04/2015 07:32 AM, Benoît Minisini wrote: > 'appindicator', 'statusnotifier' and 'dbusmenu' are really three > pieces of badly designed almost undocumented shit that required me one > week of reverse engineering! But now it works more or less, so I'm > happy.

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

2015-07-04 Thread Benoît Minisini
Le 30/06/2015 21:33, Adrien Prokopowicz a écrit : > > Well, I think the only reliable way to tell is to actually check the > session bus to see if the StatusNotifierHost is present. > > What don't you like in having to load gb.dbus to do the check ? > I understand you don't want to load the compone

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

2015-07-01 Thread Benoît Minisini
Le 01/07/2015 09:20, Fabien Bodard a écrit : > Le 1 juil. 2015 07:36, "Sebastian Kulesz" a écrit : >> >> Hey there! >> >> On Sun, Jun 28, 2015 at 10:53 PM, Benoît Minisini < >> gam...@users.sourceforge.net> wrote: >> >>> Hi, >>> >>> In revision #7154, I have replaced the gb.form.statusicon compone

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

2015-07-01 Thread Fabien Bodard
Le 1 juil. 2015 07:36, "Sebastian Kulesz" a écrit : > > Hey there! > > On Sun, Jun 28, 2015 at 10:53 PM, Benoît Minisini < > gam...@users.sourceforge.net> wrote: > > > Hi, > > > > In revision #7154, I have replaced the gb.form.statusicon component by a > > component named gb.dbus.trayicon. > > > >

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

2015-06-30 Thread Sebastian Kulesz
Hey there! On Sun, Jun 28, 2015 at 10:53 PM, Benoît Minisini < gam...@users.sourceforge.net> wrote: > 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 > whe

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

2015-06-30 Thread Adrien Prokopowicz
Le Tue, 30 Jun 2015 12:09:17 +0200, Benoît Minisini a écrit: > Le 30/06/2015 04:30, Adrien Prokopowicz a écrit : >> The only thing to note is that SNI only got implemented by Plasma in >> KDE 4.5[0], so there is a case where gb.dbus.trayicon may get loaded >> without a StatusNotifierHost being ac

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

2015-06-30 Thread Benoît Minisini
Le 30/06/2015 04:30, Adrien Prokopowicz a écrit : > Le Mon, 29 Jun 2015 03:53:23 +0200, Benoît Minisini > a écrit: > >> 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 th

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

2015-06-29 Thread Moviga Technologies
No, my bad - it was a compilation error. -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers

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

2015-06-29 Thread Moviga Technologies
Sorry, that should be plural - TrayIcons -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers

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

2015-06-29 Thread Moviga Technologies
I get: Cannot load class 'TrayIcon': Unable to load class file [System] Gambas=3.7.90 OperatingSystem=Linux Kernel=4.0.6-1-ARCH Architecture=x86_64 Distribution=arch Desktop=KDE5 Theme=Breeze Language=nb_NO.UTF-8 Memory=3580M [Libraries] Cairo=libcairo.so.2.11400.2 Curl=libcurl.so.4.3.0 DBus=

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

2015-06-28 Thread Benoît 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 TrayIco