Mercurial > libervia-web
comparison src/browser/libervia_main.py @ 675:941e53b3af5c frontends_multi_profiles
browser side: host listeners are called when host is instantiated
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 17 Mar 2015 20:28:41 +0100 |
parents | a80c13249f5d |
children | 849ffb24d5bf |
comparison
equal
deleted
inserted
replaced
674:690a8a80a0ad | 675:941e53b3af5c |
---|---|
29 from sat_frontends.quick_frontend import quick_widgets | 29 from sat_frontends.quick_frontend import quick_widgets |
30 | 30 |
31 from sat_frontends.tools.misc import InputHistory | 31 from sat_frontends.tools.misc import InputHistory |
32 from sat_frontends.tools import strings | 32 from sat_frontends.tools import strings |
33 from sat_frontends.tools import jid | 33 from sat_frontends.tools import jid |
34 from sat_frontends.tools import host_listener | |
34 from sat.core.i18n import _ | 35 from sat.core.i18n import _ |
35 | 36 |
36 from pyjamas.ui.RootPanel import RootPanel | 37 from pyjamas.ui.RootPanel import RootPanel |
37 from pyjamas.ui.HTML import HTML | 38 from pyjamas.ui.HTML import HTML |
38 from pyjamas.ui.KeyboardListener import KEY_ESCAPE | 39 from pyjamas.ui.KeyboardListener import KEY_ESCAPE |
973 | 974 |
974 | 975 |
975 if __name__ == '__main__': | 976 if __name__ == '__main__': |
976 app = SatWebFrontend() | 977 app = SatWebFrontend() |
977 app.onModuleLoad() | 978 app.onModuleLoad() |
979 host_listener.callListeners(app) |