[Xfce4-commits] [xfce/thunar] 01/01: Thunar rarely freezes when switching to tree-view (#14960)

noreply at xfce.org noreply at xfce.org
Mon Dec 10 23:14:45 CET 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   4   
   in repository xfce/thunar.

commit 61d51a95859d61c6e2563d043cfb12fa35ac7b81
Author: Alexander Schwinn <alexxcons at xfce.org>
Date:   Mon Dec 10 23:08:59 2018 +0100

    Thunar rarely freezes when switching to tree-view (#14960)
---
 thunar/thunar-tree-model.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/thunar/thunar-tree-model.c b/thunar/thunar-tree-model.c
index 0596f05..61f56f2 100644
--- a/thunar/thunar-tree-model.c
+++ b/thunar/thunar-tree-model.c
@@ -1085,13 +1085,13 @@ thunar_tree_model_device_added (ThunarDeviceMonitor *device_monitor,
   /* determine the iterator for the new node */
   GTK_TREE_ITER_INIT (iter, model->stamp, node);
 
+  /* add the dummy node */
+  thunar_tree_model_node_insert_dummy (node, model);
+
   /* tell the view about the new node */
   path = gtk_tree_model_get_path (GTK_TREE_MODEL (model), &iter);
   gtk_tree_model_row_inserted (GTK_TREE_MODEL (model), path, &iter);
   gtk_tree_path_free (path);
-
-  /* add the dummy node */
-  thunar_tree_model_node_insert_dummy (node, model);
 }
 
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list