24 lines
836 B
Diff
24 lines
836 B
Diff
|
http://bugzilla.gnome.org/show_bug.cgi?id=350974
|
||
|
|
||
|
https://bugzilla.novell.com/show_bug.cgi?id=6014
|
||
|
|
||
|
Add "Network Servers" to the Places sidebar.
|
||
|
|
||
|
--- nautilus/src/nautilus-places-sidebar.c.orig 2006-10-25 11:35:15.000000000 -0500
|
||
|
+++ nautilus/src/nautilus-places-sidebar.c 2006-10-25 11:38:12.000000000 -0500
|
||
|
@@ -263,6 +263,14 @@ update_places (NautilusPlacesSidebar *si
|
||
|
gtk_tree_selection_select_iter (selection, &last_iter);
|
||
|
}
|
||
|
|
||
|
+ mount_uri = "network:///"; /* No need to strdup */
|
||
|
+ last_iter = add_place (sidebar, PLACES_BUILT_IN,
|
||
|
+ _("Network Servers"), "gnome-fs-network",
|
||
|
+ mount_uri, NULL, NULL, 0);
|
||
|
+ if (strcmp (location, mount_uri) == 0) {
|
||
|
+ gtk_tree_selection_select_iter (selection, &last_iter);
|
||
|
+ }
|
||
|
+
|
||
|
/* for all drives add all its volumes */
|
||
|
|
||
|
volume_monitor = gnome_vfs_get_volume_monitor ();
|