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

Luis Pugoy <[email protected]>
Newsgroups gmane.comp.gnome.nautilus
Message-ID <CA+WGxEjzZGxfbehFFnYO6O6yCJh_w3pZpzaicvdQnc_tOKT_Zg@mail.gmail.com>
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

-- 
nautilus-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/nautilus-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.