summaryrefslogtreecommitdiff
path: root/thunar-volman
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis@xfce.org>2010-07-21 22:55:24 +0200
committerJannis Pohlmann <jannis@xfce.org>2010-07-25 19:42:30 +0200
commite6833035f20332b23e4e76f3eb96117680628bb8 (patch)
treee48408286e6a0073e83d29de55e2da7d0fc41acc /thunar-volman
parent45335a4707272417b3c5fbb28ffe3dd6f4926d1d (diff)
downloadthunar-volman-e6833035f20332b23e4e76f3eb96117680628bb8.tar.gz
Add some debug output
Diffstat (limited to 'thunar-volman')
-rw-r--r--thunar-volman/tvm-usb-device.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/thunar-volman/tvm-usb-device.c b/thunar-volman/tvm-usb-device.c
index 943f362..02b1529 100644
--- a/thunar-volman/tvm-usb-device.c
+++ b/thunar-volman/tvm-usb-device.c
@@ -45,17 +45,23 @@ tvm_usb_device_added (TvmContext *context)
g_return_if_fail (context != NULL);
+ g_debug ("usb device added");
+
/* collect device information */
driver = g_udev_device_get_property (context->device, "DRIVER");
is_camera = g_udev_device_get_property_as_boolean (context->device, "ID_GPHOTO2");
if (is_camera)
{
+ g_debug ("is camera");
+
enabled_property = "/autophoto/enabled";
command_property = "/autophoto/command";
}
else if (g_strcmp0 (driver, "usblp") == 0)
{
+ g_debug ("is printer");
+
enabled_property = "/autoprinter/enabled";
command_property = "/autoprinter/command";
}