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: [email protected] [[email protected]] on behalf of Leon 
> Bogaert [[email protected]]
> Sent: Wednesday, April 20, 2011 01:11
> To: [email protected]
> 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   [email protected]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/


_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to