diff options
author | Matt Wilson <msw@redhat.com> | 2000-05-25 14:28:46 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-05-25 14:28:46 +0000 |
commit | 08818653f3f542130dfe052dc97d75edc422c788 (patch) | |
tree | fa46081b734a7d6bb740039b393ada2f8e180be2 /iw | |
parent | 9073683d1a4efa2ad2c4c4e8c513508adcc809c7 (diff) | |
download | anaconda-08818653f3f542130dfe052dc97d75edc422c788.tar.gz anaconda-08818653f3f542130dfe052dc97d75edc422c788.tar.xz anaconda-08818653f3f542130dfe052dc97d75edc422c788.zip |
nth deps resolved
Diffstat (limited to 'iw')
-rw-r--r-- | iw/dependencies_gui.py | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/iw/dependencies_gui.py b/iw/dependencies_gui.py index 075f01fa5..907911fc8 100644 --- a/iw/dependencies_gui.py +++ b/iw/dependencies_gui.py @@ -3,7 +3,7 @@ from gtk import * from translate import _ class UnresolvedDependenciesWindow (InstallWindow): - + moredeps = None def __init__ (self, ics): InstallWindow.__init__ (self, ics) ics.setTitle (_("Unresolved Dependencies")) @@ -14,14 +14,23 @@ class UnresolvedDependenciesWindow (InstallWindow): def getNext (self): if self.dependCB and self.dependCB.get_active (): self.todo.selectDeps (self.deps) + threads_leave () + moredeps = self.todo.verifyDeps () + threads_enter () + if moredeps and self.todo.canResolveDeps (moredeps): + UnresolvedDependenciesWindow.moredeps = moredeps + return UnresolvedDependenciesWindow return None def getScreen (self): - threads_leave () - self.deps = self.todo.verifyDeps () - threads_enter () - if not self.deps: - return None + if not UnresolvedDependenciesWindow.moredeps: + threads_leave () + self.deps = self.todo.verifyDeps () + threads_enter () + if not self.deps: + return None + else: + self.deps = UnresolvedDependenciesWindow.moredeps sw = GtkScrolledWindow () sw.set_border_width (5) @@ -45,5 +54,3 @@ class UnresolvedDependenciesWindow (InstallWindow): box.pack_start (align, FALSE) return box - - |