[Xfce4-commits] <thunar:nick/new-shortcuts-pane-model> Add network before file system in tree.
Nick Schermer
noreply at xfce.org
Sun Oct 7 13:48:03 CEST 2012
Updating branch refs/heads/nick/new-shortcuts-pane-model
to b5e03784ced970b49790a54cbac3cedc40d46846 (commit)
from c5ff5b034dc62d8b3324cdd62094b3323e6a7477 (commit)
commit b5e03784ced970b49790a54cbac3cedc40d46846
Author: Nick Schermer <nick at xfce.org>
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)
{
More information about the Xfce4-commits
mailing list