This avoids the silly situation of having anaconda tell you that you have -1 devices selected. --- iw/filter_gui.py | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/iw/filter_gui.py b/iw/filter_gui.py index f2eff4e..f29b4af 100644 --- a/iw/filter_gui.py +++ b/iw/filter_gui.py @@ -596,6 +596,7 @@ class FilterWindow(InstallWindow): def populate(self, nonraids, mpaths, raids): def _addTuple(tuple): global totalDevices, totalSize + global selectedDevices, selectedSize added = False self.store.append(None, tuple) @@ -613,6 +614,10 @@ class FilterWindow(InstallWindow): totalDevices += 1 totalSize += tuple[0]["XXX_SIZE"] + if tuple[2]: + selectedDevices += 1 + selectedSize += tuple[0]["XXX_SIZE"] + def _active(name): if self.anaconda.storage.exclusiveDisks and \ name in self.anaconda.storage.exclusiveDisks: -- 1.6.5.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list