Discussion:
[Thunar-dev] thunar extension to reload current folder emblems
Pablo Martin
2017-04-10 10:59:19 UTC
Permalink
I'm writting an extension for thunar. In the end, based on an external
event I change the emblem for a file (via setting the corresponding GVFS
attribute). The problem is that thunar won't notice that and I need to
reload it in order to see the new emblems for files in the current
folder. Is there a way to notify thunar of the changes of attributes in
a file? I've tried to reset times (touch -r file file). While this
works, this also notifies all apps that the file has changed which is
quite annoying in case you are editing a text file.
--
Pablo Martin Signature
*Pablo Martin*
Senior Developer
*MEGA**THE PRIVACY COMPANY*
Mega Limited - +64 9 281 2110
Lvl 21 BDO Tower, 120 Albert Street, Auckland 1010 - New Zealand
Private Bag 92533, Wellesley Street, Auckland 1141 - New Zealand
https://mega.nz <https://mega.nz>
Loading...