Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > by-pkgid > ec7bc6211aba0e23409d4980724dcecb > files > 3

gnome-volume-manager-2.17.0-3mdv2007.1.src.rpm

--- gnome-volume-manager-1.5.11/src/manager.c.unmount	2006-01-30 16:53:58.000000000 +0100
+++ gnome-volume-manager-1.5.11/src/manager.c	2006-01-31 13:19:08.000000000 +0100
@@ -2390,6 +2390,8 @@
 		/* mount the device */
 		if ((dev = libhal_device_get_property_string (ctx, udi, "block.device", &error))) {
 			dbg ("mount_all: mounting %s\n", dev);
+			/* add to list of all volumes mounted during lifetime */
+			mounted_volumes = g_slist_append (mounted_volumes, g_strdup (udi));
 			/* don't make the mount program put up error dialogs */
 			gvm_device_mount (udi, FALSE);
 			libhal_free_string (dev);