[pygtk] gio.Mount.get_default_location()
Pietro Battiston
me at pietrobattiston.it
Fri May 27 22:36:39 WST 2011
Il giorno ven, 27/05/2011 alle 11.10 +0000, Leon Bogaert ha scritto:
> Does anyone know how to get the default location of a gio mount?
> Or maybe knows a place where I could better ask?
Well, if you can affort to migrate to gi...
from gi.repository import Gio
print Gio.Mount.get_default_location
bye
Pietro
>
> Regards,
> Leon
>
> ________________________________________
> From: pygtk-bounces a daa.com.au [pygtk-bounces a daa.com.au] on behalf of Leon Bogaert [leon a tim-online.nl]
> Sent: Wednesday, April 20, 2011 01:11
> To: pygtk a 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
> _______________________________________________
> pygtk mailing list pygtk a daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
More information about the pygtk
mailing list