nemo-view.c: Remove changed files that should no longer be shown.
A changed file was only passed on when the view would still show it, so renaming a file to a hidden name left the stale item in place until a reload. Fixes #491
This commit is contained in:
1 parent
7f6df5cb75
commit
1b8334ecda
1 file changed
+1
-1
+1
-1
@@ -3724,7 +3724,7 @@ process_new_files (NemoView *view)
|
|||||||
new_changed_files = g_list_delete_link (new_changed_files, node);
|
new_changed_files = g_list_delete_link (new_changed_files, node);
|
||||||
old_added_files = g_list_prepend (old_added_files, pending);
|
old_added_files = g_list_prepend (old_added_files, pending);
|
||||||
}
|
}
|
||||||
} else if (nemo_view_should_show_file (view, pending->file)) {
|
} else {
|
||||||
new_changed_files = g_list_delete_link (new_changed_files, node);
|
new_changed_files = g_list_delete_link (new_changed_files, node);
|
||||||
old_changed_files = g_list_prepend (old_changed_files, pending);
|
old_changed_files = g_list_prepend (old_changed_files, pending);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user