gvfs r2042 - in trunk: . daemon



Author: hadess
Date: Fri Oct  3 15:15:29 2008
New Revision: 2042
URL: http://svn.gnome.org/viewvc/gvfs?rev=2042&view=rev

Log:
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



Modified:
   trunk/ChangeLog
   trunk/daemon/gvfsbackendobexftp.c

Modified: trunk/daemon/gvfsbackendobexftp.c
==============================================================================
--- trunk/daemon/gvfsbackendobexftp.c	(original)
+++ trunk/daemon/gvfsbackendobexftp.c	Fri Oct  3 15:15:29 2008
@@ -127,7 +127,7 @@
       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");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]