This adds network:/// in the Places sidebar. Backport from 2.23.1. https://bugzilla.novell.com/show_bug.cgi?id=368446 http://bugzilla.gnome.org/show_bug.cgi?id=350974 Index: src/nautilus-places-sidebar.c =================================================================== --- src/nautilus-places-sidebar.c (révision 13930) +++ src/nautilus-places-sidebar.c (copie de travail) @@ -295,6 +295,16 @@ update_places (NautilusPlacesSidebar *si gtk_tree_selection_select_iter (selection, &last_iter); } + mount_uri = "network:///"; /* No need to strdup */ + icon = g_themed_icon_new (NAUTILUS_ICON_NETWORK); + last_iter = add_place (sidebar, PLACES_BUILT_IN, + _("Network"), icon, + mount_uri, NULL, NULL, NULL, 0); + g_object_unref (icon); + if (strcmp (location, mount_uri) == 0) { + gtk_tree_selection_select_iter (selection, &last_iter); + } + volume_monitor = sidebar->volume_monitor; /* first go through all connected drives */