aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiktor w brodlo <wiktor@brodlo.net>2011-08-01 09:39:45 +0000
committerwiktor w brodlo <wiktor@brodlo.net>2011-08-01 09:39:45 +0000
commita516058d6e6404ceb7ecba52ffc8594c0bbbcb67 (patch)
tree687807a0c187a7ddcd5c8b2a2fb0c12a738913c8
parentiw/mirrorselect_gui.py: connect the toggle signal to the checkbutton (diff)
downloadanaconda-a516058d6e6404ceb7ecba52ffc8594c0bbbcb67.tar.gz
anaconda-a516058d6e6404ceb7ecba52ffc8594c0bbbcb67.tar.bz2
anaconda-a516058d6e6404ceb7ecba52ffc8594c0bbbcb67.zip
iw/mirrorselect_gui.py: typo
-rw-r--r--iw/mirrorselect_gui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/iw/mirrorselect_gui.py b/iw/mirrorselect_gui.py
index dacd225..b66ae7d 100644
--- a/iw/mirrorselect_gui.py
+++ b/iw/mirrorselect_gui.py
@@ -106,9 +106,9 @@ class MirrorselectWindow(InstallWindow):
xml.get_widget("mirrors_viewport").add(treeview)
def toggleCB(self, cb):
- if cb.get_active() = True
+ if cb.get_active() = True:
cb.set_active(False)
- else
+ else:
cb.set_active(True)
def addMirrorRow(self, ts, country_ts, region, country, mirror, data):