summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2005-01-19 16:03:27 +0000
committerChris Lumens <clumens@redhat.com>2005-01-19 16:03:27 +0000
commit9c2b60209b12683edf8302835fc5850cd24e47d8 (patch)
tree03f6d60b2ca9c0ce23c8afc477929ff2560e9018
parentb9f606894762c35f63db9b424610cc77c241eb60 (diff)
downloadanaconda-9c2b60209b12683edf8302835fc5850cd24e47d8.tar.gz
anaconda-9c2b60209b12683edf8302835fc5850cd24e47d8.tar.xz
anaconda-9c2b60209b12683edf8302835fc5850cd24e47d8.zip
Only repopulate the partition display screen if we were successful in adding
the request. (corner case - #137119).
-rw-r--r--ChangeLog6
-rw-r--r--iw/partition_gui.py4
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 15d0a6bd6..fc516f0d2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-01-19 Chris Lumens <clumens@redhat.com>
+
+ * iw/partition_gui.py (PartitionWindow.refresh): Only repopulate the
+ partition display screen if we were successful in adding the request.
+ (corner case - #137119).
+
2005-01-11 Jeremy Katz <katzj@redhat.com>
* packages.py (readPackages): Ensure that the Core group exists in
diff --git a/iw/partition_gui.py b/iw/partition_gui.py
index 857a9f9e6..d847a6db8 100644
--- a/iw/partition_gui.py
+++ b/iw/partition_gui.py
@@ -1020,7 +1020,9 @@ class PartitionWindow(InstallWindow):
for req in reqs:
req.ignoreBootConstraints = 1
- self.populate()
+ if not rc == -1:
+ self.populate()
+
return rc
def editCb(self, *args):