--- pyanaconda/ui/gui/spokes/source.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py index 7bcae6e..8b150c5 100644 --- a/pyanaconda/ui/gui/spokes/source.py +++ b/pyanaconda/ui/gui/spokes/source.py @@ -784,11 +784,11 @@ class SourceSpoke(NormalSpoke): self._verifyIsoButton.set_sensitive(True)
def on_proxy_clicked(self, button): - # If this method has no proxy, ignore the click if not hasattr(self.data.method, "proxy"): - return + old_proxy = None + else: + old_proxy = self.data.method.proxy
- old_proxy = self.data.method.proxy dialog = ProxyDialog(self.data) with enlightbox(self.window, dialog.window): dialog.refresh()
On Wed, 2013-09-25 at 14:52 -0400, David Shea wrote:
pyanaconda/ui/gui/spokes/source.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py index 7bcae6e..8b150c5 100644 --- a/pyanaconda/ui/gui/spokes/source.py +++ b/pyanaconda/ui/gui/spokes/source.py @@ -784,11 +784,11 @@ class SourceSpoke(NormalSpoke): self._verifyIsoButton.set_sensitive(True)
def on_proxy_clicked(self, button):
# If this method has no proxy, ignore the click if not hasattr(self.data.method, "proxy"):
return
old_proxy = None
else:
old_proxy = self.data.method.proxy
old_proxy = self.data.method.proxy dialog = ProxyDialog(self.data) with enlightbox(self.window, dialog.window): dialog.refresh()
Well, that was a nice event handler! ACK.
anaconda-patches@lists.fedorahosted.org