comparison frontends/quick_frontend/quick_app.py @ 86:4b5f2d55b6ac

wix: Tarot panel now appear on top of groupchat window when a Tarot game is started
author Goffi <goffi@goffi.org>
date Tue, 11 May 2010 13:06:05 +0930
parents fc7583282d40
children 66d784082930
comparison
equal deleted inserted replaced
85:fc7583282d40 86:4b5f2d55b6ac
249 249
250 def tarotGameStarted(self, room_jid, players, profile): 250 def tarotGameStarted(self, room_jid, players, profile):
251 if not self.__check_profile(profile): 251 if not self.__check_profile(profile):
252 return 252 return
253 print "Tarot Game Started \o/" 253 print "Tarot Game Started \o/"
254 if self.chat_wins.has_key(room_jid):
255 self.chat_wins[room_jid].startGame("Tarot")
256 debug (_("new Tarot game started in room [%(room_jid)s]") % {'room_jid':room_jid})
257
254 258
255 259
256 def subscribe(self, type, raw_jid, profile): 260 def subscribe(self, type, raw_jid, profile):
257 """Called when a subsciption maangement signal is received""" 261 """Called when a subsciption maangement signal is received"""
258 if not self.__check_profile(profile): 262 if not self.__check_profile(profile):