[Xfce4-commits] [xfce/thunar] 01/01: Thunar confuses files (bug #12435)

noreply at xfce.org noreply at xfce.org
Thu Mar 29 00:09:06 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       x   f   c   e   -   4   .   1   2   
   in repository xfce/thunar.

commit d86b704fec69b79aebf6521f4591aea6b8c6d9f3
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 9e6d83c..721b533 100644
--- a/thunar/thunar-list-model.c
+++ b/thunar/thunar-list-model.c
@@ -1134,11 +1134,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);
@@ -1177,6 +1173,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