[gtk+/wip/gbsneto/places-view: 3/4] placesview: don't show network addresses
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/gbsneto/places-view: 3/4] placesview: don't show network addresses
- Date: Mon, 27 Jul 2015 19:55:38 +0000 (UTC)
commit 08bc1a4363c6dd7c47295ef43b9150878be26b03
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]