comparison libervia.py @ 317:bbadd490e63c

misc: gather the constants in a single file, as it is done for other frontends
author souliane <souliane@mailoo.org>
date Fri, 03 Jan 2014 14:14:34 +0100
parents 4148f8f4caa0
children c12c9a1acf2f
comparison
equal deleted inserted replaced
316:4148f8f4caa0 317:bbadd490e63c
35 from browser_side.jid import JID 35 from browser_side.jid import JID
36 from browser_side.xmlui import XMLUI 36 from browser_side.xmlui import XMLUI
37 from browser_side.tools import html_sanitize 37 from browser_side.tools import html_sanitize
38 from sat_frontends.tools.misc import InputHistory 38 from sat_frontends.tools.misc import InputHistory
39 from sat_frontends.tools.strings import getURLParams 39 from sat_frontends.tools.strings import getURLParams
40 from sat_frontends.constants import Const 40 from constants import Const
41
41 42
42 MAX_MBLOG_CACHE = 500 # Max microblog entries kept in memories 43 MAX_MBLOG_CACHE = 500 # Max microblog entries kept in memories
43 44
44 # Set to true to not create a new LiberviaWidget when a similar one 45 # Set to true to not create a new LiberviaWidget when a similar one
45 # already exist (i.e. a chat panel with the same target). Instead 46 # already exist (i.e. a chat panel with the same target). Instead