[gtk+] placesview: don't show network addresses
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] placesview: don't show network addresses
- Date: Tue, 28 Jul 2015 10:03:29 +0000 (UTC)
commit 5134e4b3bde9014159e6b47d60e1947608a9feff
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Jul 27 16:51:23 2015 -0300
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c
index cf51879..d05f57d 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)))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]