summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2008-10-03 15:15:29 +0000
committerBastien Nocera <hadess@src.gnome.org>2008-10-03 15:15:29 +0000
commitea2e636353d66cf86d45f629c2a33c9833cf4ecb (patch)
treeb05c48855b29c22deece66252d03f006b5598a01 /daemon
parentf29c309dfa49ef2113184247890fc71d3924bfce (diff)
downloadgvfs-ea2e636353d66cf86d45f629c2a33c9833cf4ecb.tar.gz
Use the Alias instead of the Name, so we automatically fallback if the
2008-10-03 Bastien Nocera <hadess@hadess.net> * daemon/gvfsbackendobexftp.c (get_name_and_icon): Use the Alias instead of the Name, so we automatically fallback if the name isn't available svn path=/trunk/; revision=2042
Diffstat (limited to 'daemon')
-rw-r--r--daemon/gvfsbackendobexftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsbackendobexftp.c b/daemon/gvfsbackendobexftp.c
index c0ce1022..772ceb12 100644
--- a/daemon/gvfsbackendobexftp.c
+++ b/daemon/gvfsbackendobexftp.c
@@ -127,7 +127,7 @@ get_name_and_icon (DBusGProxy *device, char **icon_name)
GValue *value;
char *name;
- value = g_hash_table_lookup (hash, "Name");
+ value = g_hash_table_lookup (hash, "Alias");
name = value ? g_value_dup_string(value) : NULL;
value = g_hash_table_lookup (hash, "Icon");