Mercurial > libervia-desktop-kivy
diff cagou/plugins/plugin_wid_chat.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 | ae58f84fe4e6 |
children | 826e7b17a19b |
line wrap: on
line diff
--- a/cagou/plugins/plugin_wid_chat.py Sat Apr 14 16:02:54 2018 +0200 +++ b/cagou/plugins/plugin_wid_chat.py Sat Apr 14 16:35:59 2018 +0200 @@ -32,7 +32,7 @@ from sat_frontends.tools import jid from cagou.core import cagou_widget from cagou.core.image import Image -from cagou.core.common import SymbolButton, JidWidget +from cagou.core.common import SymbolButton, JidItem from kivy.uix.dropdown import DropDown from cagou import G import mimetypes @@ -308,7 +308,7 @@ for jid_, jid_data in comp_data: nick = jid_data.get(u'nick', u'') if text in jid_.bare or text in nick.lower(): - btn = JidWidget( + btn = JidItem( jid = jid_.bare, profile = profile, size_hint = (0.5, None),