Hi Pietro,

Thank you! Worked like a charm. Never new of gi.

Regards,
Leon

________________________________________
From: pygtk-boun...@daa.com.au [pygtk-boun...@daa.com.au] on behalf of Pietro 
Battiston [m...@pietrobattiston.it]
Sent: Friday, May 27, 2011 16:36
To: pygtk@daa.com.au
Subject: Re: [pygtk] gio.Mount.get_default_location()

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


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

Reply via email to