summaryrefslogtreecommitdiffstats
path: root/iw/task_gui.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-07-24 20:44:43 +0000
committerJeremy Katz <katzj@redhat.com>2006-07-24 20:44:43 +0000
commit99e3f8ed887c9899fc450dcb8ac5efc737b929e6 (patch)
tree3f7d46bfd2a827de08cc782fff672b9434aae5a4 /iw/task_gui.py
parentab3431c19b1d3a8d250c8d83331c61174c19f5a4 (diff)
downloadanaconda-99e3f8ed887c9899fc450dcb8ac5efc737b929e6.tar.gz
anaconda-99e3f8ed887c9899fc450dcb8ac5efc737b929e6.tar.xz
anaconda-99e3f8ed887c9899fc450dcb8ac5efc737b929e6.zip
2006-07-24 Jeremy Katz <katzj@redhat.com>
* yuminstall.py (YumBackend.doRepoSetup): Make text better for adding an additional repo * iw/task_gui.py (TaskWindow.getScreen): Allow hiding additional repo button on a per-installclass basis
Diffstat (limited to 'iw/task_gui.py')
-rw-r--r--iw/task_gui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/iw/task_gui.py b/iw/task_gui.py
index e1a611246..ce53c849b 100644
--- a/iw/task_gui.py
+++ b/iw/task_gui.py
@@ -155,6 +155,8 @@ class TaskWindow(InstallWindow):
if not found:
self.xml.get_widget("mainLabel").hide()
self.xml.get_widget("cbVBox").hide()
+ if not anaconda.id.instClass.allowExtraRepos:
+ self.xml.get_widget("addRepoButton").hide()
self.xml.get_widget("addRepoButton").connect("clicked", self._addRepo)