Hi,
otherwise we keep on adding the same optical devices over and over again.
Cheers,
-- Guido
# HG changeset patch
# User "Guido Günther <[EMAIL PROTECTED]>"
# Date 1222955007 -7200
# Node ID 003db80b54c615696cac682c1c74f696f1f30d45
# Parent 4fd6f98665254b623268f6019ec6ffb72189e82f
clear list of devices
otherwise we keep adding the same device over and over again
diff -r 4fd6f9866525 -r 003db80b54c6 src/virtManager/opticalhelper.py
--- a/src/virtManager/opticalhelper.py Thu Oct 02 15:15:53 2008 +0200
+++ b/src/virtManager/opticalhelper.py Thu Oct 02 15:43:27 2008 +0200
@@ -45,6 +45,7 @@
# get a list of optical devices with data discs in, for FV installs
vollabel = {}
volpath = {}
+ self.model.clear()
# Track device add/removes so we can detect newly inserted CD media
self.hal_iface.connect_to_signal("DeviceAdded", self._device_added)
self.hal_iface.connect_to_signal("DeviceRemoved", self._device_removed)
_______________________________________________
et-mgmt-tools mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/et-mgmt-tools