Re: [Gambas-user] Balloons, everywhere but when I don't want them.

2017-08-21 Thread Fabien Bodard
Tony I think it is needed as the notify functions depend on the desktop used... and there is a big amount of possibilities in fact. 2017-08-18 21:14 GMT+02:00 Tony Morehen : > I'm not too sure that a component is needed since there is so little code > involved. I also

Re: [Gambas-user] Balloons, everywhere but when I don't want them.

2017-08-18 Thread Tony Morehen
I'm not too sure that a component is needed since there is so little code involved. I also not sure if a component would be appropriate. I'll put together a Howto and a demo class and uploaded it in a day or two to the mailing list. On 2017-08-18 12:45 PM, Moviga Technologies wrote: This

Re: [Gambas-user] Balloons, everywhere but when I don't want them.

2017-08-18 Thread PICCORO McKAY Lenz
sourceforge some times ago said that mailer services will be limited.. do the bugtracker are using the mail service of sourceforge? there's a mail service integration, in settuings->integration->service->mail for gitlab... but its for commits only gitlab and github have a build in mail list,

Re: [Gambas-user] Balloons, everywhere but when I don't want them.

2017-08-18 Thread Benoît Minisini via Gambas-user
Le 18/08/2017 à 18:45, Moviga Technologies a écrit : This could perhaps implemented into the gb.Desktop component as 'Desktop.Notify()'? No, because gb.desktop should not depend on DBus. Better put that in the gb.dbus component. Or make a gb.desktop.notify component that requires gb.dbus.

Re: [Gambas-user] Balloons, everywhere but when I don't want them.

2017-08-18 Thread Moviga Technologies
This could perhaps implemented into the gb.Desktop component as 'Desktop.Notify()'? Den 18.08.2017 16:15, skrev Tobias Boege: > On Fri, 18 Aug 2017, Tony Morehen wrote: > >> Gambas can talk to the notifications daemon via Dbus. I use this code: >> >> Private NotifyInterface As String =

Re: [Gambas-user] Balloons, everywhere but when I don't want them.

2017-08-18 Thread Benoît Minisini via Gambas-user
Le 18/08/2017 à 16:34, Tony Morehen a écrit : BTW the attached code is not fully functional. It tries to listen for a signal on both the system bus (Udisks2 signal) and the session bus (Notifications). Unfortunately, Gambas can only listen to one bus at a time, the second declared bus is

Re: [Gambas-user] Balloons, everywhere but when I don't want them.

2017-08-18 Thread Tony Morehen
BTW the attached code is not fully functional. It tries to listen for a signal on both the system bus (Udisks2 signal) and the session bus (Notifications). Unfortunately, Gambas can only listen to one bus at a time, the second declared bus is ignored. As a result, the code that responds to

Re: [Gambas-user] Balloons, everywhere but when I don't want them.

2017-08-18 Thread Tobias Boege
On Fri, 18 Aug 2017, Tony Morehen wrote: > Gambas can talk to the notifications daemon via Dbus. I use this code: > > Private NotifyInterface As String = "org.freedesktop.Notifications" > Private NotifyApp As String = "session://" & NotifyInterface > Private NotifyPath As String = "/" &

Re: [Gambas-user] Balloons, everywhere but when I don't want them.

2017-08-18 Thread Tony Morehen
Gambas can talk to the notifications daemon via Dbus. I use this code: Private NotifyInterface As String = "org.freedesktop.Notifications" Private NotifyApp As String = "session://" & NotifyInterface Private NotifyPath As String = "/" & Replace(NotifyInterface, ".", "/") 'does the daemon

Re: [Gambas-user] Balloons, everywhere but when I don't want them.

2017-08-18 Thread Tobias Boege
On Fri, 18 Aug 2017, adamn...@gmail.com wrote: > Probably obscure, but I'll give it a go anyway... > > This project has about 80 or so Timers running at any given time, when they > fire some stuff is updated and then a balloon pops up to alert the user that > some update has happened. All

[Gambas-user] Balloons, everywhere but when I don't want them.

2017-08-18 Thread adamn...@gmail.com
Probably obscure, but I'll give it a go anyway... This project has about 80 or so Timers running at any given time, when they fire some stuff is updated and then a balloon pops up to alert the user that some update has happened. All fantastic. And an added bonus is that the balloon pops up