@@ -1,15 +1,6 @@
diff -Nuar virt-manager-0.5.3.orig/src/virtManager/addhardware.py virt-manager-0.5.3/src/virtManager/addhardware.py
--- virt-manager-0.5.3.orig/src/virtManager/addhardware.py 2008-04-04 15:52:00.000000000 -0600
+++ virt-manager-0.5.3/src/virtManager/addhardware.py 2008-04-04 15:53:17.000000000 -0600
-@@ -122,7 +122,7 @@
- network_list.add_attribute(text, 'text', 1)
-
- device_list = self.window.get_widget("net-device")
-- device_model = gtk.ListStore(str, bool)
-+ device_model = gtk.ListStore(str, bool, str)
- device_list.set_model(device_model)
- text = gtk.CellRendererText()
- device_list.pack_start(text, True)
@@ -313,7 +313,7 @@
else:
dev = self.window.get_widget("net-device")
@@ -31,23 +22,6 @@
elif net[0] == "network":
self.window.get_widget("summary-net-type").set_text(_("Virtual network"))
self.window.get_widget("summary-net-target").set_text(net[1])
-@@ -816,13 +819,14 @@
- def populate_device_model(self, model):
- model.clear()
- hasShared = False
-+ model.append([_("(Default)"), True, None])
- for name in self.vm.get_connection().list_net_device_paths():
- net = self.vm.get_connection().get_net_device(name)
- if net.is_shared():
- hasShared = True
-- model.append(["%s (%s %s)" % (net.get_name(), _("Bridge"), net.get_bridge()), True])
-+ model.append(["%s (%s %s)" % (net.get_name(), _("Bridge"), net.get_bridge()), True, net.get_bridge()])
- else:
-- model.append(["%s (%s)" % (net.get_name(), _("Not bridged")), False])
-+ model.append(["%s (%s)" % (net.get_name(), _("Not bridged")), False, net.get_name()])
- return hasShared
-
- def populate_target_device_model(self, model):
diff -Nuar virt-manager-0.5.3.orig/src/virtManager/host.py virt-manager-0.5.3/src/virtManager/host.py
--- virt-manager-0.5.3.orig/src/virtManager/host.py 2008-01-10 18:17:51.000000000 -0700
+++ virt-manager-0.5.3/src/virtManager/host.py 2008-04-04 15:54:26.000000000 -0600
|