# HG changeset patch # User Goffi # Date 1279282441 -28800 # Node ID d998adb62d1aec561572ccedf3059490976bb28c # Parent a86607e5cf38a0f31334452ef80bfd4061f1e347 wix: fixed wrong class Name in card_game diff -r a86607e5cf38 -r d998adb62d1a frontends/wix/card_game.py --- a/frontends/wix/card_game.py Fri Jul 16 20:12:54 2010 +0800 +++ b/frontends/wix/card_game.py Fri Jul 16 20:14:01 2010 +0800 @@ -157,7 +157,7 @@ """Called when the player as to select hist contrat @param xml_data: SàT xml representation of the form""" misc = {'callback': self.contratSelected} - form = Form(self.parent.host, xml_data, title = _('Please choose your contrat'), options = ['NO_CANCEL'], misc = misc) + form = XMLUI(self.parent.host, xml_data, title = _('Please choose your contrat'), options = ['NO_CANCEL'], misc = misc) def showCards(self, game_stage, cards, data): """Display cards in the middle of the game (to show for e.g. chien ou poignée)""" @@ -178,7 +178,7 @@ def showScores(self, xml_data, winners, loosers): """Called when the player as to select hist contrat @param xml_data: SàT xml representation of the form""" - form = Form(self.parent.host, xml_data, title = _('You win \o/') if self.player_nick in winners else _('You loose :('), options = ['NO_CANCEL']) + form = XMLUI(self.parent.host, xml_data, title = _('You win \o/') if self.player_nick in winners else _('You loose :('), options = ['NO_CANCEL']) def cardsPlayed(self, player, cards): """A card has been played by player"""