Re: Dynamically changing emblems without refresh



I'm trying to set dynamic emblems like in Dropbox where when a file
is 
being synchronized, its emblem changes and when it's synced, it again 
changes. And this doesn't require a manual refresh.

But when I use
gvfs-set-attribute -t stringv ~/Desktop/test.txt metadata::emblems 
"my-emblem"

It requires a refresh on the folder. How can I get rid of this
refresh 
requirement and automatically refresh nautilus like Dropbox?

There is currently no change notification for file metadata. Dropbox can
do this as it is a nautilus extension which can tell nautilus the file
changed.

Maybe you can work around it by touching the file to get a normal file
change notification.



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