comparison browser_side/panels.py @ 342:44491e963eee

browser_side: muc user symbols (used for showing who is playing) can also be removed
author souliane <souliane@mailoo.org>
date Fri, 17 Jan 2014 17:20:04 +0100
parents ce5b33f499c5
children f1ba38043d78
comparison
equal deleted inserted replaced
341:31c105017d6b 342:44491e963eee
1167 """Configure the chat window to start a game""" 1167 """Configure the chat window to start a game"""
1168 classes = {"Tarot": CardPanel, "RadioCol": RadioColPanel} 1168 classes = {"Tarot": CardPanel, "RadioCol": RadioColPanel}
1169 if game_type not in classes.keys(): 1169 if game_type not in classes.keys():
1170 return # unknown game 1170 return # unknown game
1171 attr = game_type.lower() 1171 attr = game_type.lower()
1172 self.occupants_list.addSpecials(players, SYMBOLS[attr]) 1172 self.occupants_list.updateSpecials(players, SYMBOLS[attr])
1173 if waiting or not self.nick in players: 1173 if waiting or not self.nick in players:
1174 return # waiting for player or not playing 1174 return # waiting for player or not playing
1175 attr = "%s_panel" % attr 1175 attr = "%s_panel" % attr
1176 if hasattr(self, attr): 1176 if hasattr(self, attr):
1177 return 1177 return