From 9ac04d45e2e79e45b5f3a3e953fa01f358eb6ed0 Mon Sep 17 00:00:00 2001 From: Yousuf Philips Date: Tue, 10 Mar 2020 15:06:34 +0400 Subject: [PATCH] Move network below devices in tree view (bug #16516) --- 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 2835aeb8..2a161b02 100644 --- a/thunar/thunar-tree-model.c +++ b/thunar/thunar-tree-model.c @@ -325,13 +325,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) { -- 2.20.1