Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the first declared bus for signals

2017-08-31 Thread Tony Morehen
Hans, I've uploaded gbAutoMount to the Software Farm.  It shows what you can do with Udisks2 and desktop notifications. On 2017-08-31 12:43 PM, Hans Lehmann wrote: Am 31.08.2017 um 16:40 schrieb Tony Morehen: There were issues with dbus signals that were cleared up in the recent development r

Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the first declared bus for signals

2017-08-30 Thread Tony Morehen
I thought some more about what you wrote and I tried: 1) Created a Main module and set it as the startup class. 2) Moved FMain's _new code (setting up signal handlers etc) to Sub Main() in module Main 3) Moved all other code into Main 4) deleted FMain and removed all components except gb.DBus a

Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the first declared bus for signals

2017-08-30 Thread Benoît Minisini via Gambas-user
Le 31/08/2017 à 00:07, Tony Morehen a écrit : It is indeed fixed. Thanks Benoit! BTW is there any way to add an event loop to a console app? ie I want to use a console app as a daemon, responding to dbus signals. There is always an event loop in Gambas programs. It starts as soon as the

Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the first declared bus for signals

2017-08-30 Thread Tony Morehen
It is indeed fixed.  Thanks Benoit! BTW is there any way to add an event loop to a console app?  ie I want to use a console app as a daemon, responding to dbus signals. On 2017-08-30 03:57 PM, Benoît Minisini via Gambas-user wrote: Message transféré Sujet : [Gambas Bug Tra

[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the first declared bus for signals

2017-08-30 Thread Benoît Minisini via Gambas-user
Message transféré Sujet : [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the first declared bus for signals Date : Wed, 30 Aug 2017 19:57:34 GMT De : bugtrac...@gambaswiki.org Pour : tmore...@ajm-software.com, g4m...@gmail.com http://gambaswiki.org/bugtracker/edit?obj

Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the first declared bus for signals

2017-08-30 Thread Tony Morehen
Sorry, it doesn't work for me. In fact, my test program receives no signals at all. I'm working off what at the time was the latest commit, a2183117ffd8448b10008f76e7dac6eecd01cc3d I've attached the test program. To use, just insert or remove a usb drive and watch the debug messages. BTW

[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the first declared bus for signals

2017-08-29 Thread Benoît Minisini via Gambas-user
Message transféré Sujet : [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the first declared bus for signals Date : Tue, 29 Aug 2017 22:56:25 GMT De : bugtrac...@gambaswiki.org Pour : tmore...@ajm-software.com, g4m...@gmail.com http://gambaswiki.org/bugtracker/edit?obj