[pygtk] gio.Mount.get_default_location()

Leon Bogaert leon at tim-online.nl
Fri May 27 19:10:58 WST 2011


Does anyone know how to get the default location of a gio mount?
Or maybe knows a place where I could better ask?

Regards,
Leon

________________________________________
From: pygtk-bounces at daa.com.au [pygtk-bounces at daa.com.au] on behalf of Leon Bogaert [leon at tim-online.nl]
Sent: Wednesday, April 20, 2011 01:11
To: pygtk at daa.com.au
Subject: [pygtk] gio.Mount.get_default_location()

Hi all,

I'm trying to put something together with python and gio.
I'm trying to get the default location for a mount (home directory for
example).

The c api has a g_mount_get_default_location() function:
http://developer.gnome.org/gio/2.26/GMount.html#g-mount-get-default-location
But the python api doesn't (it's not in the docs):
http://developer.gnome.org/pygobject/stable/class-giomount.html

Anyone know why this method isn't added? Should I file a bug report
about this? And where? And is there a another way to get the default
location?

Thanks in advance!

Leon


More information about the pygtk mailing list