Index: thunar/thunar-file.c =================================================================== --- thunar/thunar-file.c (revision 21654) +++ thunar/thunar-file.c (working copy) @@ -295,6 +295,9 @@ file->flags |= THUNAR_FILE_IN_DESTRUCTION; g_signal_emit (object, file_signals[DESTROY], 0); file->flags &= ~THUNAR_FILE_IN_DESTRUCTION; + + /* tell the file monitor that this file was destroyed */ + thunar_file_monitor_file_destroyed (file); } /* drop the entry from the cache */ @@ -1837,9 +1840,6 @@ */ g_object_ref (G_OBJECT (file)); - /* tell the file monitor that this file was destroyed */ - thunar_file_monitor_file_destroyed (file); - /* run the dispose handler */ g_object_run_dispose (G_OBJECT (file));