From 4441ab94444e68940e64ac159192a48fc431608c Mon Sep 17 00:00:00 2001 From: Harald Judt Date: Tue, 12 May 2015 11:01:08 +0200 Subject: Do listen for G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED (bug #11896) The assumption that listening for CHANGES_DONE_HINT will also take care of ATTRIBUTE_CHANGED was obviously wrong, as the trash bin does not longer receive a changed signal. Revert this change, but still use CHANGES_DONE_HINT instead of simple G_FILE_MONITOR_EVENT_CHANGED events. http://git.xfce.org/xfce/thunar/commit/?id=a0b81ac84dcfd23f1d310d276e46df13e826fac9 "Watch for CHANGES_DONE_HINT instead of CHANGED and ATTRIBUTE_CHANGED (bug #8377)" --- thunar/thunar-file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c index a216cfa..44c1213 100644 --- a/thunar/thunar-file.c +++ b/thunar/thunar-file.c @@ -661,6 +661,7 @@ thunar_file_monitor_update (GFile *path, switch (event_type) { case G_FILE_MONITOR_EVENT_CREATED: + case G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED: case G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT: case G_FILE_MONITOR_EVENT_PRE_UNMOUNT: case G_FILE_MONITOR_EVENT_DELETED: -- 2.4.0