summaryrefslogtreecommitdiff
path: root/thunar-volman
diff options
context:
space:
mode:
Diffstat (limited to 'thunar-volman')
-rw-r--r--thunar-volman/tvm-block-device.c2
-rw-r--r--thunar-volman/tvm-device.c3
-rw-r--r--thunar-volman/tvm-input-device.c2
-rw-r--r--thunar-volman/tvm-usb-device.c2
4 files changed, 5 insertions, 4 deletions
diff --git a/thunar-volman/tvm-block-device.c b/thunar-volman/tvm-block-device.c
index 56969ed..072f198 100644
--- a/thunar-volman/tvm-block-device.c
+++ b/thunar-volman/tvm-block-device.c
@@ -916,7 +916,7 @@ automount_disc:
{
/* generate an error for logging */
g_set_error (context->error, G_FILE_ERROR, G_FILE_ERROR_FAILED,
- _("Unknown block device type"));
+ _("Unknown block device type \"%s\""), devtype);
/* finish processing the device */
tvm_device_handler_finished (context);
diff --git a/thunar-volman/tvm-device.c b/thunar-volman/tvm-device.c
index 7249769..90cf94b 100644
--- a/thunar-volman/tvm-device.c
+++ b/thunar-volman/tvm-device.c
@@ -136,7 +136,8 @@ tvm_device_added (TvmContext *context)
else
{
g_set_error (context->error, G_FILE_ERROR, G_FILE_ERROR_FAILED,
- _("Device type not supported"));
+ _("Device type \"%s\" not supported"),
+ g_udev_device_get_property (context->device, "DEVNAME"));
g_main_loop_quit (context->loop);
}
}
diff --git a/thunar-volman/tvm-input-device.c b/thunar-volman/tvm-input-device.c
index 71af8ac..d78ce95 100644
--- a/thunar-volman/tvm-input-device.c
+++ b/thunar-volman/tvm-input-device.c
@@ -138,7 +138,7 @@ tvm_input_device_added (TvmContext *context)
{
/* return an error because we cannot handle the input device */
g_set_error (context->error, G_FILE_ERROR, G_FILE_ERROR_FAILED,
- _("Unsupported input device type"));
+ _("Unsupported input device type \"%s\""), devname);
}
/* finish processing the device */
diff --git a/thunar-volman/tvm-usb-device.c b/thunar-volman/tvm-usb-device.c
index c5b3613..140f50e 100644
--- a/thunar-volman/tvm-usb-device.c
+++ b/thunar-volman/tvm-usb-device.c
@@ -97,7 +97,7 @@ tvm_usb_device_added (TvmContext *context)
{
/* return an error because we cannot handle the usb device */
g_set_error (context->error, G_FILE_ERROR, G_FILE_ERROR_FAILED,
- _("Unsupported USB device type"));
+ _("Unsupported USB device type \"%s\""), driver);
}
/* finish processing the device */