Ack. On 12/22/2009 11:44 AM, Radek Vykydal wrote:
Corrects translation between device name and device path. Changes rendering style of toggle button in list from check to radio (which is how it behaves). --- iw/osbootwidget.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/iw/osbootwidget.py b/iw/osbootwidget.py index 86f1718..fcde027 100644 --- a/iw/osbootwidget.py +++ b/iw/osbootwidget.py @@ -70,6 +70,7 @@ class OSBootWidget: active = 0) column.set_sizing(gtk.TREE_VIEW_COLUMN_AUTOSIZE) self.checkboxrenderer.connect("toggled", self.toggledDefault) + self.checkboxrenderer.set_radio(True) self.osTreeView.append_column(column) for columnTitle in theColumns[1:]: @@ -336,7 +337,7 @@ class OSBootWidget: def toggledDefault(self, data, row): iter = self.osStore.get_iter((int(row),)) dev = self.osStore.get_value(iter, 2) - self.defaultDev = dev[5:] + self.defaultDev = devicePathToName(dev) self.fillOSList() # fill in the os list tree view
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list