[gnome-commander] When a file attribute is updated, do account for it



commit b5cacccf61c1d361c9024738ede84a8df9fa896c
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Mon Jun 21 23:05:55 2021 +0200

    When a file attribute is updated, do account for it

 src/gnome-cmd-dir.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnome-cmd-dir.cc b/src/gnome-cmd-dir.cc
index 369568a6..8b33fb34 100644
--- a/src/gnome-cmd-dir.cc
+++ b/src/gnome-cmd-dir.cc
@@ -85,6 +85,7 @@ static void monitor_callback (GFileMonitor *gFileMonitor, GFile *gFile, GFile *o
     switch (event_type)
     {
         case G_FILE_MONITOR_EVENT_CHANGED:
+        case G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED:
             DEBUG('n', "G_FILE_MONITOR_EVENT_CHANGED for %s\n", fileUri);
             gnome_cmd_dir_file_changed (dir, fileUri);
             break;
@@ -97,7 +98,6 @@ static void monitor_callback (GFileMonitor *gFileMonitor, GFile *gFile, GFile *o
             gnome_cmd_dir_file_created (dir, fileUri);
             break;
         case G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT:
-        case G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED:
         case G_FILE_MONITOR_EVENT_PRE_UNMOUNT:
         case G_FILE_MONITOR_EVENT_UNMOUNTED:
         case G_FILE_MONITOR_EVENT_MOVED:


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