diff 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
line wrap: on
line diff
--- a/frontends/quick_frontend/quick_app.py	Fri May 07 17:09:30 2010 +0930
+++ b/frontends/quick_frontend/quick_app.py	Tue May 11 13:06:05 2010 +0930
@@ -251,6 +251,10 @@
         if not self.__check_profile(profile):
             return
         print "Tarot Game Started \o/"
+        if self.chat_wins.has_key(room_jid):
+            self.chat_wins[room_jid].startGame("Tarot")
+            debug (_("new Tarot game started in room [%(room_jid)s]") % {'room_jid':room_jid})
+
         
 
     def subscribe(self, type, raw_jid, profile):