comparison libervia.py @ 323:0b7934e75e76

misc: reorganization of the file panels.py + clean the modules import: - some existing modules were not found during JS runtime (panels.py was too large?) - the *Panel classes of panels.py that do not reference "host" have been moved to base_panels.py - cleaned the import in various files
author souliane <souliane@mailoo.org>
date Sat, 04 Jan 2014 00:17:46 +0100
parents bfbd9d6eb901
children d07b54fdc60a
comparison
equal deleted inserted replaced
322:971e3812903a 323:0b7934e75e76
24 from pyjamas.ui.HTML import HTML 24 from pyjamas.ui.HTML import HTML
25 from pyjamas.ui.KeyboardListener import KEY_ESCAPE 25 from pyjamas.ui.KeyboardListener import KEY_ESCAPE
26 from pyjamas.Timer import Timer 26 from pyjamas.Timer import Timer
27 from pyjamas import Window, DOM 27 from pyjamas import Window, DOM
28 from pyjamas.JSONService import JSONProxy 28 from pyjamas.JSONService import JSONProxy
29 from pyjamas import Location 29
30 from browser_side.register import RegisterBox 30 from browser_side.register import RegisterBox
31 from browser_side.contact import ContactPanel 31 from browser_side.contact import ContactPanel
32 from browser_side.base_widget import WidgetsPanel 32 from browser_side.base_widget import WidgetsPanel
33 from browser_side.panels import MicroblogItem 33 from browser_side.panels import MicroblogItem
34 from browser_side import panels, dialog 34 from browser_side import panels, dialog
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
38 from sat_frontends.tools.misc import InputHistory 39 from sat_frontends.tools.misc import InputHistory
39 from sat_frontends.tools.strings import getURLParams 40 from sat_frontends.tools.strings import getURLParams
40 from constants import Const 41 from constants import Const
42 from sat.core.i18n import _
41 43
42 44
43 MAX_MBLOG_CACHE = 500 # Max microblog entries kept in memories 45 MAX_MBLOG_CACHE = 500 # Max microblog entries kept in memories
44 46
45 # Set to true to not create a new LiberviaWidget when a similar one 47 # Set to true to not create a new LiberviaWidget when a similar one