Reload icon in Nautilus after run a Python extension



Hi! I was searching a lot about this problem, but I didn't find a solution :(

I created a Nautilus extension (in python) with:
http://projects.gnome.org/nautilus-python

This is a little example:
http://crunchbanglinux.org/pastebin/1869
This extension just changed the icon for the 'Document' folder.
The PROBLEM is that I must to reload Nautilus for see the new icon changed.

I think I must to use the method
Nautilus.info_provider_update_complete_invoke (http://ur1.ca/acmh5)
But I think I'm doing something wrong, it isn't work:
http://crunchbanglinux.org/pastebin/1868

Any help, please? Thanks in advance! :)
Mark.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]