the futile struggle to avoid blank device labels continues

SVN revision: 55991
This commit is contained in:
Mike Blumenkrantz 2011-01-08 06:40:41 +00:00
parent 9865da8663
commit 8babc3a6f0
1 changed files with 1 additions and 0 deletions

View File

@ -429,6 +429,7 @@ _e_fm_main_udisks_cb_vol_prop(E_Volume *v,
v->label = e_ukit_property_string_get(ret, "IdLabel", &err);
if (!v->label) v->label = e_ukit_property_string_get(ret, "DeviceFile", &err); /* avoid having blank labels */
if (!v->label) v->label = v->uuid; /* last resort */
v->label = eina_stringshare_add(v->label);
if (!v->encrypted)