annotate frontends/wix/constants.py @ 107:5ae370c71803
CS: message sending is now working
- xmltools/xmlui: buttons can now send fields of the ui when used
- xmltools/xmlui: new textbox element, to write a large text (used for messages in CS plugin)
- xmltools/xmlui: list have now an attribute multi for selecting several options
- xmltools/xmlui: window title can now be specified in the xml (attribute title)
- CS_plugin: message sending interface & management
author |
Goffi <goffi@goffi.org> |
date |
Mon, 28 Jun 2010 15:18:59 +0800 |
parents |
f271fff3a713 |
children |
1438a1337732 |
rev |
line source |
72
|
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")] |