[pygtk] gio.Mount.get_default_location()
John Stowers
john.stowers.lists at gmail.com
Mon May 30 06:28:58 WST 2011
On Sun, 2011-05-29 at 20:49 +0000, Leon Bogaert wrote:
> Could somebody try this code on their machine? http://pastebin.com/Q3UqQrND
You are reading the wrong docs. The pygobject docs which bind gio are
for pre gobject-introspection times.
For gobject-introspection you must refer to the C docs (and
unfortunately guess how they map to python).
Yes I know this sucks.
The following works
http://developer.gnome.org/gio/stable/GFile.html#g-file-mount-enclosing-volume
location.mount_enclosing_volume(0, mo, None, callbackz, None)
John
More information about the pygtk
mailing list