Re: UDisks dbus async calls don't work sometimes when a second mainloop exists

2010-06-29 Thread David Zeuthen
of typing! Of course, if you really wanted to save some typing you'd just use libgdu (from gnome-disk-utility) since that is the GLib-level binding for udisks (dbus-glib + handwritten). David [1] : http://people.freedesktop.org/~david/gdbus-codegen-20100629/ actually one of the test

Re: UDisks dbus async calls don't work sometimes when a second mainloop exists

2010-06-29 Thread PCMan
Thank you all for the quick reply. Is there any suggested way to workaround this? I previously tried to schedule a idle handler and call FilesystemMount in it instead, and it works. However, this could make things out of sync. When my idle handler get called, it's possible that the device was alrea