Commit dfffdbf2 authored by Benedikt Meurer's avatar Benedikt Meurer

2007-11-28 Benedikt Meurer <benny@xfce.org>

	* thunar-vfs/thunar-vfs-volume-hal.c: Ignore volumes that do
	  not mountable file systems. Bug #3555.




(Old svn revision: 26396)
parent c0900b6f
2007-11-28 Benedikt Meurer <benny@xfce.org>
* thunar-vfs/thunar-vfs-volume-hal.c: Ignore volumes that do
not mountable file systems. Bug #3555.
2007-11-28 Benedikt Meurer <benny@xfce.org>
* plugins/thunar-uca/thunar-uca-model.c: Properly recognize
......
......@@ -1007,7 +1007,9 @@ thunar_vfs_volume_manager_hal_device_added (LibHalContext *context,
hv = libhal_volume_from_udi (context, udi);
/* HAL might want us to ignore this volume for some reason */
if (G_UNLIKELY (hv != NULL && libhal_volume_should_ignore (hv)))
if (G_UNLIKELY (hv != NULL
&& (libhal_volume_should_ignore (hv)
|| libhal_volume_get_fsusage (hv) != LIBHAL_VOLUME_USAGE_MOUNTABLE_FILESYSTEM)))
{
libhal_volume_free (hv);
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment