diff options
author | Bastien Nocera <hadess@hadess.net> | 2008-10-03 15:15:29 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@src.gnome.org> | 2008-10-03 15:15:29 +0000 |
commit | ea2e636353d66cf86d45f629c2a33c9833cf4ecb (patch) | |
tree | b05c48855b29c22deece66252d03f006b5598a01 /daemon | |
parent | f29c309dfa49ef2113184247890fc71d3924bfce (diff) | |
download | gvfs-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.c | 2 |
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"); |