From 5134e4b3bde9014159e6b47d60e1947608a9feff Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Mon, 27 Jul 2015 16:51:23 -0300 Subject: [PATCH] placesview: don't show network addresses It is distracting, not relevant and too space consuming. Remove the network addresses label. --- gtk/gtkplacesview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c index cf518795b4..d05f57d235 100644 --- a/gtk/gtkplacesview.c +++ b/gtk/gtkplacesview.c @@ -758,7 +758,7 @@ add_volume (GtkPlacesView *view, root = mount ? g_mount_get_root (mount) : NULL; icon = g_volume_get_icon (volume); name = g_volume_get_name (volume); - path = root ? g_file_get_parse_name (root) : NULL; + path = !is_network ? g_volume_get_identifier (volume, G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE) : NULL; if (!mount || (mount && !g_mount_is_shadowed (mount)))