diff src/browser/sat_browser/notification.py @ 591:e11e34ac0f67 frontends_multi_profiles

browser_side: fixes Notification.onFocus
author souliane <souliane@mailoo.org>
date Fri, 06 Feb 2015 17:52:26 +0100
parents 97c72fe4a5f2
children 03e9fe91081c
line wrap: on
line diff
--- a/src/browser/sat_browser/notification.py	Sat Jan 24 01:45:39 2015 +0100
+++ b/src/browser/sat_browser/notification.py	Fri Feb 06 17:52:26 2015 +0100
@@ -89,11 +89,11 @@
         """)
         wnd().onclick = self._old_click
 
-    def onFocus(self):
+    def onFocus(self, event=None):
         Window.setTitle(self._orig_title)
         self._notif_count = 0
 
-    # def onBlur(self):
+    # def onBlur(self, event=None):
     #     pass
 
     def isHidden(self):