Updating branch refs/heads/master to dd61db4916401cfdb82333ce6a57c9260c2f9269 (commit) from 17a898e5fdb335fa7241c0d3aa39f83db6430386 (commit)
commit dd61db4916401cfdb82333ce6a57c9260c2f9269 Author: David Mohr <da...@mcbf.net> Date: Thu May 2 22:31:24 2013 -0600 Bugfix: Trigger volume change on udev 'change' event xfburn/xfburn-udev-manager.c | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/xfburn/xfburn-udev-manager.c b/xfburn/xfburn-udev-manager.c index 5de2daa..e3af4b2 100644 --- a/xfburn/xfburn-udev-manager.c +++ b/xfburn/xfburn-udev-manager.c @@ -162,15 +162,10 @@ static void cb_device_monitor_uevent(GUdevClient *client, { DBG ("UDEV: device uevent: %s", action); - if (g_str_equal (action, "remove") || g_str_equal (action, "add")) + if (g_str_equal (action, "remove") || g_str_equal (action, "add") || + g_str_equal (action, "change")) g_signal_emit (instance, signals[VOLUME_CHANGED], 0); - /* Lets ignore this for now, - * way too many of these get triggered when a disc is - * inserted or removed! - DBG ("HAL: property modified"); - g_signal_emit (instance, signals[VOLUME_CHANGED], 0); - */ } static GObject * _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits