gvfs r1208 - in trunk: . daemon



Author: alexl
Date: Wed Jan 30 11:43:26 2008
New Revision: 1208
URL: http://svn.gnome.org/viewvc/gvfs?rev=1208&view=rev

Log:
2008-01-30  Alexander Larsson  <alexl redhat com>

        * daemon/gvfsbackend.c:
        (g_vfs_backend_register_mount):
	Correctly detect unset stable name



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

Modified: trunk/daemon/gvfsbackend.c
==============================================================================
--- trunk/daemon/gvfsbackend.c	(original)
+++ trunk/daemon/gvfsbackend.c	Wed Jan 30 11:43:26 2008
@@ -495,7 +495,8 @@
   if (message == NULL)
     _g_dbus_oom ();
 
-  if (backend->priv->stable_name != NULL)
+  if (backend->priv->stable_name != NULL &&
+      *backend->priv->stable_name != 0)
    stable_name = backend->priv->stable_name;
   else
    stable_name = backend->priv->display_name;



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