summaryrefslogtreecommitdiff
path: root/thunar-volman
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis@xfce.org>2010-07-26 10:26:51 +0200
committerJannis Pohlmann <jannis@xfce.org>2010-07-26 10:26:51 +0200
commit73190ddbcc5ad3c915fff21f12a262c07d432ea1 (patch)
tree205f2f979b45e544d47cd4d908d43184bd57676e /thunar-volman
parent5611e57af9d832a6ec90d4e28fb3a422800e94ac (diff)
downloadthunar-volman-73190ddbcc5ad3c915fff21f12a262c07d432ea1.tar.gz
Fix a weird error I cannot really explain...
Diffstat (limited to 'thunar-volman')
-rw-r--r--thunar-volman/tvm-block-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thunar-volman/tvm-block-device.c b/thunar-volman/tvm-block-device.c
index b88d01d..b5f73bf 100644
--- a/thunar-volman/tvm-block-device.c
+++ b/thunar-volman/tvm-block-device.c
@@ -772,7 +772,7 @@ tvm_block_device_added (TvmContext *context)
g_return_if_fail (context != NULL);
/* collect general device information */
- devtype = g_udev_device_get_devtype (context->device);
+ devtype = g_udev_device_get_property (context->device, "DEVTYPE");
id_type = g_udev_device_get_property (context->device, "ID_TYPE");
id_fs_usage = g_udev_device_get_property (context->device, "ID_FS_USAGE");