This is an automated email from the git hooks/post-receive script.

alex pushed a 
commit to branch 
xfce-4.14
in repository xfce/thunar.

commit 35055c227e46d68e9f46fb4eb9c2854e5ab1c4b3
Author: Reuben Green <reubengree...@gmail.com>
Date:   Sat Mar 14 00:49:05 2020 +0000

    Fix for crash when inserting USB device in tree mode. (Bug #15172)
    
    This fix reverts commit 33a155c1bded0487396b609aad19730a9f201bbb
---
 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 17d9bf5..774a5e3 100644
--- a/thunar/thunar-tree-model.c
+++ b/thunar/thunar-tree-model.c
@@ -1099,13 +1099,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.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to