placesview: don't show network addresses

It is distracting, not relevant and too space
consuming.

Remove the network addresses label.
This commit is contained in:
Georges Basile Stavracas Neto
2015-07-27 16:51:23 -03:00
parent c00f216d92
commit 5134e4b3bd

View File

@ -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)))