Mercurial > libervia-backend
diff sat_frontends/quick_frontend/constants.py @ 2618:fe9888d3fcb6
quick app: added missing docstring in showDialog
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 26 Jun 2018 07:09:49 +0200 |
parents | 26edcf3a30eb |
children | 56f94936df1e |
line wrap: on
line diff
--- a/sat_frontends/quick_frontend/constants.py Sun Jun 24 21:59:29 2018 +0200 +++ b/sat_frontends/quick_frontend/constants.py Tue Jun 26 07:09:49 2018 +0200 @@ -48,9 +48,12 @@ CONTACT_SPECIAL = 'special' CONTACT_SPECIAL_GROUP = 'group' # group chat special entity CONTACT_SELECTED = 'selected' - CONTACT_PROFILE = 'profile' # used in handler to track where the contact is coming from + # used in handler to track where the contact is coming from + CONTACT_PROFILE = 'profile' CONTACT_SPECIAL_ALLOWED = (CONTACT_SPECIAL_GROUP,) # allowed values for special flag - CONTACT_DATA_FORBIDDEN = {CONTACT_GROUPS, CONTACT_RESOURCES, CONTACT_MAIN_RESOURCE, CONTACT_SELECTED, CONTACT_PROFILE} # set of forbidden names for contact data + # set of forbidden names for contact data + CONTACT_DATA_FORBIDDEN = {CONTACT_GROUPS, CONTACT_RESOURCES, CONTACT_MAIN_RESOURCE, + CONTACT_SELECTED, CONTACT_PROFILE} # Chats CHAT_STATE_ICON = { @@ -79,9 +82,12 @@ UPDATE_MODIFY = 'MODIFY' UPDATE_ADD = 'ADD' UPDATE_SELECTION = 'SELECTION' - UPDATE_STRUCTURE = 'STRUCTURE' # high level update (i.e. not item level but organisation of items) + # high level update (i.e. not item level but organisation of items) + UPDATE_STRUCTURE = 'STRUCTURE' - LISTENERS = {'avatar', 'nick', 'presence', 'profilePlugged', 'disconnect', 'gotMenus', 'menu', 'notification', 'notificationsClear', 'progressFinished', 'progressError'} + LISTENERS = {'avatar', 'nick', 'presence', 'profilePlugged', 'disconnect', 'gotMenus', + 'menu', 'notification', 'notificationsClear', 'progressFinished', + 'progressError'} # Notifications NOTIFY_MESSAGE = 'MESSAGE' # a message has been received