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

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

[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

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.