Mercurial > libervia-backend
changeset 133:d998adb62d1a
wix: fixed wrong class Name in card_game
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 16 Jul 2010 20:14:01 +0800 |
parents | a86607e5cf38 |
children | 7201851d9aed |
files | frontends/wix/card_game.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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"""