nautilus r14000 - in trunk: . src
- From: cosimoc svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r14000 - in trunk: . src
- Date: Sat, 29 Mar 2008 14:52:52 +0000 (GMT)
Author: cosimoc
Date: Sat Mar 29 14:52:52 2008
New Revision: 14000
URL: http://svn.gnome.org/viewvc/nautilus?rev=14000&view=rev
Log:
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).
Modified:
trunk/ChangeLog
trunk/src/nautilus-places-sidebar.c
Modified: trunk/src/nautilus-places-sidebar.c
==============================================================================
--- trunk/src/nautilus-places-sidebar.c (original)
+++ trunk/src/nautilus-places-sidebar.c Sat Mar 29 14:52:52 2008
@@ -295,6 +295,16 @@
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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]