Mercurial > libervia-backend
comparison frontends/wix/constants.py @ 72:f271fff3a713
MUC implementation: first draft
/!\ the experimental muc branche of wokkel must be used
- bridge: new roomJoined signal
- wix: contact list widget is now in a separate file, and manage different kinds of presentation
- wix: chat window now manage group chat (first draft, not working yet)
- wix: constants are now in a separate class, so then can be accessible from everywhere
- wix: new menu to join room (do nothing yet, except entering in a test room)
- new plugin for xep 0045 (MUC), use wokkel experimental MUC branch
- plugins: the profile is now given for get_handler, cause it can be used internally by a plugin (e.g.: xep-0045 plugin)
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 21 Mar 2010 10:28:55 +1100 |
parents | |
children | 1438a1337732 |
comparison
equal
deleted
inserted
replaced
71:efe81b61673c | 72:f271fff3a713 |
---|---|
1 import sys | |
2 import __builtin__ | |
3 | |
4 __builtin__.__dict__['IMAGE_DIR'] = sys.path[0]+'/images' | |
5 | |
6 __builtin__.__dict__['msgOFFLINE'] = _("offline") | |
7 __builtin__.__dict__['msgONLINE'] = _("online") | |
8 __builtin__.__dict__['const_DEFAULT_GROUP'] = "Unclassed" | |
9 __builtin__.__dict__['const_STATUS'] = [("", _("Online"), None), | |
10 ("chat", _("Free for chat"), "green"), | |
11 ("away", _("AFK"), "brown"), | |
12 ("dnd", _("DND"), "red"), | |
13 ("xa", _("Away"), "red")] |