From 13ece3c963e44a1484a0d2d980db6fb0c7080d6f Mon Sep 17 00:00:00 2001
From: Benedikt Meurer <benny@xfce.org>
Date: Wed, 9 May 2007 17:44:54 +0000
Subject: [PATCH] 2007-05-09	Benedikt Meurer <benny@xfce.org>

	* thunar-vfs/thunar-vfs-volume-hal.c
	  (thunar_vfs_volume_manager_hal_device_removed): Emit the correct
	  signal when removing devices. Patch from Brian Tarricone.
	  Bug #3205.




(Old svn revision: 25691)
---
 ChangeLog                          | 7 +++++++
 thunar-vfs/thunar-vfs-volume-hal.c | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 35c9c59c8..f657078bd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-05-09	Benedikt Meurer <benny@xfce.org>
+
+	* thunar-vfs/thunar-vfs-volume-hal.c
+	  (thunar_vfs_volume_manager_hal_device_removed): Emit the correct
+	  signal when removing devices. Patch from Brian Tarricone.
+	  Bug #3205.
+
 2007-04-27	Benedikt Meurer <benny@xfce.org>
 
 	* thunar-vfs/thunar-vfs-volume-freebsd.c,
diff --git a/thunar-vfs/thunar-vfs-volume-hal.c b/thunar-vfs/thunar-vfs-volume-hal.c
index 34110e8f9..741c84cba 100644
--- a/thunar-vfs/thunar-vfs-volume-hal.c
+++ b/thunar-vfs/thunar-vfs-volume-hal.c
@@ -1095,7 +1095,7 @@ thunar_vfs_volume_manager_hal_device_removed (LibHalContext *context,
   _thunar_vfs_return_if_fail (manager_hal->context == context);
 
   /* emit the "device-removed" signal (to support thunar-volman) */
-  g_signal_emit_by_name (G_OBJECT (manager_hal), "device-added", udi);
+  g_signal_emit_by_name (G_OBJECT (manager_hal), "device-removed", udi);
 
   /* check if we already have a volume object for the UDI */
   volume_hal = thunar_vfs_volume_manager_hal_get_volume_by_udi (manager_hal, udi);
-- 
GitLab