[nautilus] Move the 'File System' shortcut down the list in the sidebar.



commit 2bbbc01dc6429e948aed0bbf077e1b77880352ee
Author: Antoine Jacoutot <ajacoutot openbsd org>
Date:   Fri Jul 15 16:13:36 2011 +0200

    Move the 'File System' shortcut down the list in the sidebar.
    
    Users access more often the XDG dirs than the root filesystem, so it makes
    sense to move it below.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=654681

 src/nautilus-places-sidebar.c |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/src/nautilus-places-sidebar.c b/src/nautilus-places-sidebar.c
index a775bad..d8f6bfb 100644
--- a/src/nautilus-places-sidebar.c
+++ b/src/nautilus-places-sidebar.c
@@ -676,19 +676,6 @@ update_places (NautilusPlacesSidebar *sidebar)
 		g_free (desktop_path);
 	}
 
-	/* file system root */
- 	mount_uri = "file:///"; /* No need to strdup */
-	icon = g_themed_icon_new (NAUTILUS_ICON_FILESYSTEM);
-	last_iter = add_place (sidebar, PLACES_BUILT_IN,
-			       SECTION_COMPUTER,
-			       _("File System"), icon,
-			       mount_uri, NULL, NULL, NULL, 0,
-			       _("Open the contents of the File System"));
-	g_object_unref (icon);
-	compare_for_selection (sidebar,
-			       location, mount_uri, last_uri,
-			       &last_iter, &select_path);
-
 	
 	/* XDG directories */
 	for (index = 0; index < G_USER_N_DIRECTORIES; index++) {
@@ -773,6 +760,19 @@ update_places (NautilusPlacesSidebar *sidebar)
 	}
 	g_list_free (mounts);
 
+	/* file system root */
+ 	mount_uri = "file:///"; /* No need to strdup */
+	icon = g_themed_icon_new (NAUTILUS_ICON_FILESYSTEM);
+	last_iter = add_place (sidebar, PLACES_BUILT_IN,
+			       SECTION_COMPUTER,
+			       _("File System"), icon,
+			       mount_uri, NULL, NULL, NULL, 0,
+			       _("Open the contents of the File System"));
+	g_object_unref (icon);
+	compare_for_selection (sidebar,
+			       location, mount_uri, last_uri,
+			       &last_iter, &select_path);
+
 	mount_uri = "trash:///"; /* No need to strdup */
 	icon = nautilus_trash_monitor_get_icon ();
 	last_iter = add_place (sidebar, PLACES_BUILT_IN,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]