changeset 378:3dd0b5334aef

browser_side: fix typos
author souliane <souliane@mailoo.org>
date Tue, 25 Feb 2014 10:46:20 +0100
parents 603fa314880e
children d2324f093942
files browser_side/xmlui.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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)