diff browser_side/xmlui.py @ 378:3dd0b5334aef

browser_side: fix typos
author souliane <souliane@mailoo.org>
date Tue, 25 Feb 2014 10:46:20 +0100
parents ab923b870fb0
children 76583fab7ea0
line wrap: on
line diff
--- a/browser_side/xmlui.py	Tue Feb 25 09:42:52 2014 +0100
+++ b/browser_side/xmlui.py	Tue Feb 25 10:46:20 2014 +0100
@@ -76,7 +76,7 @@
         return self.getText()
 
     def _xmluiOnChange(self, callback):
-        self.addhangeListener(callback)
+        self.addChangeListener(callback)
 
 
 class PasswordWidget(xmlui.PasswordWidget, PasswordTextBox):
@@ -123,7 +123,7 @@
     def __init__(self, parent, value, click_callback):
         Button.__init__(self, value)
 
-    def _xmluiOnClick(self, event):
+    def _xmluiOnClick(self, callback):
         self.addClickListener(callback)