You put "pyfs: pythonmethod" in a gnome-vfs configuration file (notice
that the README asks you to install the file pyfs.conf).  Therefore,
when a pyfs:// URI is requested, gnome-vfs loads libpythonmethod.so,
which receives the 'pyfs' method name and then tries to import the
python module 'pyfs'.  The standard python path search, plus
$(libdir)/gnome-vfs-2.0/modules. In this module, it looks for a class
called 'pyfs_method'.  It then creates a new instance of this class, and
tries to get the vfs_xxxx methods, which are then used to implement the
VFS operations.

Perhaps you should add this documentation as a comment in the file or a README next to it.

--
Johan Dahlin <[EMAIL PROTECTED]>
Async Open Source


begin:vcard
fn:Johan Dahlin
n:Dahlin;Johan
org:Async Open Source;Development
adr;quoted-printable:Jardim Macarengo;;Rua Orlando Damiano, 2212;S=C3=A3o Carlos;SP;13560-450;Brazil
email;internet:[EMAIL PROTECTED]
title:Software developer
tel;work:+55 16 3376 0125
tel;fax:+55 16 3501 5394
tel;home:+55 16 3501 5332
tel;cell:+55 16 9112 6219
x-mozilla-html:FALSE
url:http://www.async.com.br
version:2.1
end:vcard

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

Reply via email to