view frontends/src/wix/constants.py @ 538:2c4016921403

core, frontends, bridgen plugins: fixed methods which were unproperly managing multi-profiles - added profile argument to askConfirmation, actionResult, actionResultExt, entityDataUpdated, confirmationAnswer, getProgress - core, frontends: fixed calls/signals according to new bridge API - user of proper profile namespace for progression indicators and dialogs - memory: getParam* now return bool when param type is bool - memory: added getStringParam* to return string instead of typed value - core, memory, storage, quick_frontend: getHistory now manage properly multi-profiles - plugins XEP-0047, XEP-0054, XEP-0065, XEP-0077, XEP-0096; multi-profiles proper handling
author Goffi <goffi@goffi.org>
date Sat, 10 Nov 2012 16:38:16 +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")]