comparison frontends/src/quick_frontend/quick_chat.py @ 2040:f607349a01a4

quick frontend (chat): fixed messageNew signal dispatching when several widgets are handling the target
author Goffi <goffi@goffi.org>
date Sun, 21 Aug 2016 17:04:33 +0200
parents e3f1bd9dd009
children aff318d4a786
comparison
equal deleted inserted replaced
2039:6353deb1bd73 2040:f607349a01a4
178 w.updated(["state"]) 178 w.updated(["state"])
179 179
180 180
181 class QuickChat(quick_widgets.QuickWidget): 181 class QuickChat(quick_widgets.QuickWidget):
182 182
183 visible_states = ['chat_state'] 183 visible_states = ['chat_state'] # FIXME: to be removed, used only in quick_games
184 184
185 def __init__(self, host, target, type_=C.CHAT_ONE2ONE, occupants=None, subject=None, profiles=None): 185 def __init__(self, host, target, type_=C.CHAT_ONE2ONE, occupants=None, subject=None, profiles=None):
186 """ 186 """
187 @param type_: can be C.CHAT_ONE2ONE for single conversation or C.CHAT_GROUP for chat à la IRC 187 @param type_: can be C.CHAT_ONE2ONE for single conversation or C.CHAT_GROUP for chat à la IRC
188 """ 188 """