- self._resetMethod()
+ # this preserves the method details while disabling it
+ self.data.method.method = None
if BASE_REPO_NAME not in self._yum.repos.repos.keys():
log.info("using default repos from local yum configuration")
diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py
index 787d715..32991fc 100644
--- a/pyanaconda/ui/gui/spokes/source.py
+++ b/pyanaconda/ui/gui/spokes/source.py
@@ -260,7 +260,8 @@ class SourceSpoke(NormalSpoke):
self.data.method.partition = part.name
self.data.method.dir = self._currentIsoFile
elif self._mirror_active():
- pass
+ # this preserves the url for later editing
+ self.data.method.method = None
elif self._http_active() or self._ftp_active():
url = self._urlEntry.get_text().strip()
@@ -294,6 +295,8 @@ class SourceSpoke(NormalSpoke):
(self.data.method.server, self.data.method.dir) = url.split(":", 2)
self.data.method.opts = self.builder.get_object("nfsOptsEntry").get_text() or ""
+ # TODO: handle noUpdatesCheckbox
+
# Then, some widgets get enabled/disabled/greyed out depending on
# how others are set up. We can use the signal handlers to handle
# that condition here too.
--
1.7.7.6
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list