[Thunar-dev] thunar extension to reload current folder emblems
Pablo Martin
pm at mega.nz
Mon Apr 10 12:59:19 CEST 2017
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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.xfce.org/pipermail/thunar-dev/attachments/20170410/38cf825a/attachment.html>
More information about the Thunar-dev
mailing list