diff -ur thunar-volman-0.5.1.orig/thunar-volman/tvm-input-device.c thunar-volman-0.5.1/thunar-volman/tvm-input-device.c --- thunar-volman-0.5.1.orig/thunar-volman/tvm-input-device.c 2010-07-26 13:00:06.000000000 +0300 +++ thunar-volman-0.5.1/thunar-volman/tvm-input-device.c 2010-08-07 14:06:51.000000000 +0300 @@ -121,7 +121,9 @@ if (enabled) { /* display a detection notification */ + #ifdef HAVE_LIBNOTIFY tvm_notify (icon, summary, message); + #endif /* fetch the command for the input device type and try to run it */ command = xfconf_channel_get_string (context->channel, command_property, NULL); diff -ur thunar-volman-0.5.1.orig/thunar-volman/tvm-usb-device.c thunar-volman-0.5.1/thunar-volman/tvm-usb-device.c --- thunar-volman-0.5.1.orig/thunar-volman/tvm-usb-device.c 2010-07-26 13:00:06.000000000 +0300 +++ thunar-volman-0.5.1/thunar-volman/tvm-usb-device.c 2010-08-07 14:07:15.000000000 +0300 @@ -80,7 +80,9 @@ if (enabled) { /* display a detection notification */ + #ifdef HAVE_LIBNOTIFY tvm_notify (icon, summary, message); + #endif /* fetch the command for the input device type and try to run it */ command = xfconf_channel_get_string (context->channel, command_property, NULL);