Mercurial > libervia-backend
view frontends/src/wix/constants.py @ 687:af0d08a84cc6
primitivus card_game: bug fix and improvement
- changeset 56f8a9c99194 introduced a bug because it connected all the list widgets to the parameter change callback. This is not OK because the Tarot is using a list form that is not a parameter.
- some list processing was raising an error when the data is not initialized
- display the "choose contrat" dialog with valign='top' to allow the user see his hand while taking the decision.
author | souliane <souliane@mailoo.org> |
---|---|
date | Mon, 28 Oct 2013 19:04:49 +0100 |
parents | 0806a65a5fa9 |
children | 6246eb6d64a0 |
line wrap: on
line source
import sys,os.path import __builtin__ import sat_frontends.wix wix_root = os.path.dirname(sat_frontends.wix.__file__) __builtin__.__dict__['APP_NAME'] = "Wix" __builtin__.__dict__['LICENCE_PATH'] = os.path.join(wix_root,"COPYING") __builtin__.__dict__['msgOFFLINE'] = _("offline") __builtin__.__dict__['msgONLINE'] = _("online") __builtin__.__dict__['const_DEFAULT_GROUP'] = "Unclassed" __builtin__.__dict__['const_STATUS'] = [("", _("Online"), None), ("chat", _("Free for chat"), "green"), ("away", _("AFK"), "brown"), ("dnd", _("DND"), "red"), ("xa", _("Away"), "red")]