Places: Fix name for volumes without a label
SVN revision: 84536
This commit is contained in:
parent
87db6172c0
commit
9c969a2c0a
|
@ -228,6 +228,9 @@ places_volume_update(Volume *vol)
|
|||
_places_run_fm(vol->mount_point);
|
||||
vol->force_open = EINA_FALSE;
|
||||
}
|
||||
|
||||
// debug:
|
||||
// places_print_volume(vol);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -294,7 +294,7 @@ _places_udisks_vol_props_cb(void *data, const EDBus_Message *msg, EDBus_Pending
|
|||
else if (mount_point && mount_point[0])
|
||||
eina_stringshare_replace(&vol->label, mount_point);
|
||||
else if (device && device[0])
|
||||
eina_stringshare_replace(&vol->label, vol->device);
|
||||
eina_stringshare_replace(&vol->label, device);
|
||||
|
||||
// store all other props in the Volume*
|
||||
if (device) eina_stringshare_replace(&vol->device, device);
|
||||
|
|
Loading…
Reference in New Issue