Re: Gio.DBusObjectManagerClient not updating

2018-03-06 Thread Hayden Lau
Sorry all, this is a repeat email that got caught up in the spam filtering system. I already had some responses earlier (after I joined the mailing list). Thanks, Hayden On 2018-03-06, 1:36 PM, "python-hackers-list on behalf of Hayden Lau" wrote: [This sender failed our fraud

Gio.DBusObjectManagerClient not updating

2018-03-06 Thread Hayden Lau
-working) proof of concept code pasted below. It prints the initial set of objects reported by the ‘org.freedesktop.UDisks2’ object manager, but does not print changes (either via signal or polling) when disks are added or removed. Thank you, Hayden Lau from time import

Gio.DBusObjectManagerClient not updating

2018-01-13 Thread Hayden Lau
with Ubuntu 16.04 LTS, 3.20.0, along with the versions of DBus and Glib, etc that also come with the OS. (https://packages.ubuntu.com/xenial/python3-gi) Thank you, Hayden Lau from time import sleep import gi gi.require_version('Gio', '2.0') from gi.r