From 99e3f8ed887c9899fc450dcb8ac5efc737b929e6 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Mon, 24 Jul 2006 20:44:43 +0000 Subject: 2006-07-24 Jeremy Katz * 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 --- iw/task_gui.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'iw/task_gui.py') 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) -- cgit