[Xfce4-commits] [xfce/thunar] 01/01: Do listen for G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED (bug #11896)

noreply at xfce.org noreply at xfce.org
Tue May 12 11:12:19 CEST 2015


This is an automated email from the git hooks/post-receive script.

hjudt pushed a commit to branch master
in repository xfce/thunar.

commit 6c6640604d84dad586c6b9ad0fb8ac68d9048f70
Author: Harald Judt <h.judt at gmx.at>
Date:   Tue May 12 11:01:08 2015 +0200

    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:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list