Commit 301e6743 authored by Alexander Schwinn's avatar Alexander Schwinn

Ghost file ocasionally remains when dropping file into directory

(Fixes #312)
parent 91851be2
...@@ -771,6 +771,9 @@ thunar_folder_monitor (GFileMonitor *monitor, ...@@ -771,6 +771,9 @@ thunar_folder_monitor (GFileMonitor *monitor,
/* tell others about the new file */ /* tell others about the new file */
list.data = file; list.next = list.prev = NULL; list.data = file; list.next = list.prev = NULL;
g_signal_emit (G_OBJECT (folder), folder_signals[FILES_ADDED], 0, &list); g_signal_emit (G_OBJECT (folder), folder_signals[FILES_ADDED], 0, &list);
/* load the new file */
thunar_file_reload (file);
} }
} }
else if (lp != NULL) else if (lp != NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment