diff options
author | Hans de Goede <hdegoede@redhat.com> | 2009-11-24 21:25:00 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2009-11-26 12:21:15 +0100 |
commit | c7c6177079e7b5071effa8b9617148f4063c35e4 (patch) | |
tree | 60c8c6e32985bfd88f9f7cf04c1bfb89a1ecfc24 /iw | |
parent | de0984c9fde20560322fc0f3f8200e28d657ef47 (diff) | |
download | anaconda-c7c6177079e7b5071effa8b9617148f4063c35e4.tar.gz anaconda-c7c6177079e7b5071effa8b9617148f4063c35e4.tar.xz anaconda-c7c6177079e7b5071effa8b9617148f4063c35e4.zip |
Add DCB option to GUI FCoE setup (#513011)
Diffstat (limited to 'iw')
-rw-r--r-- | iw/autopart_type.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/iw/autopart_type.py b/iw/autopart_type.py index bdf7e6f14..fc0e4be0a 100644 --- a/iw/autopart_type.py +++ b/iw/autopart_type.py @@ -342,9 +342,10 @@ class PartitionTypeWindow(InstallWindow): def addFcoeDrive(self): (dxml, dialog) = gui.getGladeWidget("fcoe-config.glade", "fcoeDialog") + combo = dxml.get_widget("fcoeNicCombo") + dcb_cb = dxml.get_widget("dcbCheckbutton") # Populate the combo - combo = dxml.get_widget("fcoeNicCombo") cell = gtk.CellRendererText() combo.pack_start(cell, True) combo.set_attributes(cell, text = 0) @@ -405,7 +406,8 @@ class PartitionTypeWindow(InstallWindow): try: self.storage.fcoe.addSan(nic=store.get_value(iter, 1), - dcb=False, intf=self.intf) + dcb=dcb_cb.get_active(), + intf=self.intf) except IOError, e: self.intf.messageWindow(_("Error"), str(e), custom_icon="error") |