Mercurial > libervia-backend
comparison frontends/quick_frontend/quick_contact_management.py @ 119:ded2431cea5a
Primitivus: chat window / text sending.
Primitivus has now the most basics features \o/
- core: new getVersion method
- primitivus: new debug key (C-d), only work if SàT is in dev version (D in version)
- quick_app: new post_init method, used for automatique task like auto-plug
- primitivus: lists now use genericList (Box) or List (Flow)
- primitivus: List now manage correctly its size
- primitivus: new FocusFrame widget which manage focus changing with 'tab'
- primitivus: advancedEdit now manage 'click' signal
- primitivus: contactList now manager 'change' and 'click' signals
- primitivus: Chat window now working
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 05 Jul 2010 19:13:36 +0800 |
parents | 8f2ed279784b |
children |
comparison
equal
deleted
inserted
replaced
118:76055a209ed9 | 119:ded2431cea5a |
---|---|
78 self.__contactlist[entity.short]['resources'].remove(entity.resource) | 78 self.__contactlist[entity.short]['resources'].remove(entity.resource) |
79 if not entity.resource or not self.__contactlist[entity.short]['resources']: | 79 if not entity.resource or not self.__contactlist[entity.short]['resources']: |
80 #no more resource available: the contact seems really disconnected | 80 #no more resource available: the contact seems really disconnected |
81 del self.__contactlist[entity.short] | 81 del self.__contactlist[entity.short] |
82 except KeyError: | 82 except KeyError: |
83 pass | 83 error(_('INTERNAL ERROR: Key error')) |
84 raise | |
84 | 85 |
85 def update(self, entity, key, value): | 86 def update(self, entity, key, value): |
86 """Update attribute of contact | 87 """Update attribute of contact |
87 @param entity: jid of the contact | 88 @param entity: jid of the contact |
88 @param key: name of the attribute | 89 @param key: name of the attribute |