Updating branch refs/heads/master
         to 19e3e68ac917c00cbe83fa0451192aeacb3b4944 (commit)
       from 8ffe01cce4bed0f0f6f8b4c2a4b7764cd9f2f8ff (commit)

commit 19e3e68ac917c00cbe83fa0451192aeacb3b4944
Author: Nick Schermer <[email protected]>
Date:   Sun Oct 7 12:22:01 2012 +0200

    Add network before file system in tree.
    
    THis way also the devices are added before the / file system,
    which is important for finding the current-dir anchestor.

 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 dd44423..ecd15cb 100644
--- a/thunar/thunar-tree-model.c
+++ b/thunar/thunar-tree-model.c
@@ -326,13 +326,13 @@ thunar_tree_model_init (ThunarTreeModel *model)
   if (thunar_g_vfs_is_uri_scheme_supported ("trash"))
     system_paths = g_list_append (system_paths, thunar_g_file_new_for_trash 
());
 
-  /* append the root file system */
-  system_paths = g_list_append (system_paths, thunar_g_file_new_for_root ());
-
   /* append the network icon if browsing the network is supported */
   if (thunar_g_vfs_is_uri_scheme_supported ("network"))
     system_paths = g_list_append (system_paths, g_file_new_for_uri 
("network://"));
 
+  /* append the root file system */
+  system_paths = g_list_append (system_paths, thunar_g_file_new_for_root ());
+
   /* append the system defined nodes ('Home', 'Trash', 'File System') */
   for (lp = system_paths; lp != NULL; lp = lp->next)
     {
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to