[Xfce4-commits] [xfce/thunar] 02/02: Thunar confuses files (bug #12435)
noreply at xfce.org
noreply at xfce.org
Wed Mar 28 23:45:53 CEST 2018
This is an automated email from the git hooks/post-receive script.
a l e x p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/thunar.
commit 7e4f4a0c0be5ac0c503ca4aedf8aee8676006177
Author: Alexander Schwinn <acs82 at gmx.de>
Date: Wed Mar 28 22:45:00 2018 +0200
Thunar confuses files (bug #12435)
---
thunar/thunar-list-model.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/thunar/thunar-list-model.c b/thunar/thunar-list-model.c
index 6e40884..cb907e6 100644
--- a/thunar/thunar-list-model.c
+++ b/thunar/thunar-list-model.c
@@ -1159,11 +1159,7 @@ thunar_list_model_file_changed (ThunarFileMonitor *file_monitor,
/* generate the iterator for this row */
GTK_TREE_ITER_INIT (iter, store->stamp, row);
- /* notify the view that it has to redraw the file */
_thunar_assert (pos_before == g_sequence_iter_get_position (row));
- path = gtk_tree_path_new_from_indices (pos_before, -1);
- gtk_tree_model_row_changed (GTK_TREE_MODEL (store), path, &iter);
- gtk_tree_path_free (path);
/* check if the sorting changed */
g_sequence_sort_changed (row, thunar_list_model_cmp_func, store);
@@ -1202,6 +1198,10 @@ thunar_list_model_file_changed (ThunarFileMonitor *file_monitor,
g_free (new_order);
}
+ /* notify the view that it has to redraw the file */
+ path = gtk_tree_path_new_from_indices (pos_before, -1);
+ gtk_tree_model_row_changed (GTK_TREE_MODEL (store), path, &iter);
+ gtk_tree_path_free (path);
break;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list