InfoProvider.update_file_info_full issue with FileInfo.add_emblem in nautilus-python



Hello,

I have the following nautilus-python extension that sets emblems asynchronously using update_file_info_full (http://pastebin.com/LwZ4eGzS). It was adapted from the example here: https://projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-info-provider.html. However, I ran into the following issues:
  • In one machine, the emblems are not shown when FileInfo.invalidate_extension_info is called.
  • However, in one machine the emblems are not shown UNLESS FileInfo.invalidate_extension_info is called. And even then all but one of the files have emblems. The last file on which update_file_info_full is called on does not have an emblem.
The machines both run Lubuntu 12.10. nautilus and nautilus-python versions are

$ dpkg -l nautilus
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                    Version          Architecture     Description
+++-=======================-================-================-===================================================
ii  nautilus                1:3.5.90.really. amd64            file manager and graphical shell for GNOME

$ dpkg -l python-nautilus
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                    Version          Architecture     Description
+++-=======================-================-================-===================================================
ii  python-nautilus         1.1-3            amd64            Python binding for Nautilus components



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