Commit 3991a37f authored by Cosimo Cecchi's avatar Cosimo Cecchi Committed by Cosimo Cecchi

Show network servers in Places sidebar. Patch by Vincent Untz. (#350974).

2008-03-29  Cosimo Cecchi  <cosimoc@gnome.org>

	* src/nautilus-places-sidebar.c: (update_places):
	Show network servers in Places sidebar. Patch by Vincent Untz.
	(#350974).

svn path=/trunk/; revision=14000
parent 47229472
2008-03-29 Cosimo Cecchi <cosimoc@gnome.org>
* src/nautilus-places-sidebar.c: (update_places):
Show network servers in Places sidebar. Patch by Vincent Untz.
(#350974).
2008-03-29 Cosimo Cecchi <cosimoc@gnome.org>
* libnautilus-private/nautilus-icon-container.c:
......
......@@ -295,6 +295,16 @@ update_places (NautilusPlacesSidebar *sidebar)
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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment