[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:17:15 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   2   
   in repository xfce/thunar.

commit 95925eb023144ebe199234b65bafc1f08696f5de
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 9eb652f..f1f3e25 100644
--- a/thunar/thunar-tree-model.c
+++ b/thunar/thunar-tree-model.c
@@ -1084,13 +1084,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