summaryrefslogtreecommitdiffstats
path: root/pyanaconda
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2012-08-27 16:38:27 -0400
committerChris Lumens <clumens@redhat.com>2012-08-27 16:57:31 -0400
commit332e8d222c591a92311cb634e2edb93ccda750b5 (patch)
tree782dad06ab477e96fe3c6c38d08be9ba82be104a /pyanaconda
parentfac4b22cd318faca63c82d3b4539bc7a09e065e1 (diff)
downloadanaconda-332e8d222c591a92311cb634e2edb93ccda750b5.tar.gz
anaconda-332e8d222c591a92311cb634e2edb93ccda750b5.tar.xz
anaconda-332e8d222c591a92311cb634e2edb93ccda750b5.zip
on_*_changed callbacks take one argument, not two.
Diffstat (limited to 'pyanaconda')
-rw-r--r--pyanaconda/ui/gui/spokes/source.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py
index 28cd54e99..5e1f349b1 100644
--- a/pyanaconda/ui/gui/spokes/source.py
+++ b/pyanaconda/ui/gui/spokes/source.py
@@ -355,7 +355,7 @@ class AdditionalReposDialog(GUIObject):
def on_url_icon_press(self, w, pos, event):
"""Callback for the delete all icon in url text field."""
self._repositoryUrl.set_text("")
- self.on_url_changed(w, None)
+ self.on_url_changed(w)
self.repository_status(None, _("enter URL of your desired repository"))
def repository_status(self, valid, description, epoch = None, still_spinning = False):
@@ -403,7 +403,7 @@ class AdditionalReposDialog(GUIObject):
"""Callback for delete all icon in the people repositories filter
text entry."""
self._peopleRepositoriesFilter.set_text("")
- self.on_filter_timeout(w, None)
+ self.on_filter_timeout(w)
class SourceSpoke(NormalSpoke):