diff cagou/core/common.py @ 145:654b00fa3fdc

core (common): renamed JidWidget to JidItem to avoid name conflict with XMLUI
author Goffi <goffi@goffi.org>
date Sat, 14 Apr 2018 16:35:59 +0200
parents 091e288838e1
children 11ff8cd93659
line wrap: on
line diff
--- a/cagou/core/common.py	Sat Apr 14 16:02:54 2018 +0200
+++ b/cagou/core/common.py	Sat Apr 14 16:35:59 2018 +0200
@@ -38,13 +38,13 @@
     pass
 
 
-class JidWidget(ButtonBehavior, BoxLayout):
+class JidItem(ButtonBehavior, BoxLayout):
 
     def __init__(self, jid, profile, **kwargs):
         self.jid = jid
         self.profile = profile
         self.nick = kwargs.get('nick')
-        super(JidWidget, self).__init__(**kwargs)
+        super(JidItem, self).__init__(**kwargs)
 
     def getImage(self, wid):
         host = G.host