diff options
Diffstat (limited to 'thunar')
-rw-r--r-- | thunar/thunar-tree-model.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/thunar/thunar-tree-model.c b/thunar/thunar-tree-model.c index 9eb652ff..f1f3e25d 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); } |