I already tried that: 

In [3]: Gio.MountMountFlags.NONE
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
/home/leon/<ipython console> in <module>()
AttributeError: type object 'MountMountFlags' has no attribute 'NONE'

Here's the dir of Gio.MountMountFlags: http://pastebin.com/B3An5qAW

I'm wondering why I don't have that attribute.

Regards,
Leon

________________________________________
From: John Stowers [john.stowers.li...@gmail.com]
Sent: Tuesday, May 31, 2011 03:25
To: Leon Bogaert
Cc: Johannes Sasongko; pygtk@daa.com.au
Subject: Re: [pygtk] gio.Mount.get_default_location()

On Mon, 2011-05-30 at 22:37 +0000, Leon Bogaert wrote:
> Thanks for the help. I think I fail to understand.

Well experiment, try all the options...

Gio.MountMountFlags.NONE

--> works

hint: dir(Gio.MountMountFlags)


_______________________________________________
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