comparison src/core/sat_main.py @ 801:02ee9ef95277

plugin XEP-0045, primitivus: added MUC configuration
author Goffi <goffi@goffi.org>
date Tue, 04 Feb 2014 18:06:12 +0100
parents dd656d745d6a
children 5d6c45d6ee1b
comparison
equal deleted inserted replaced
800:e0770d977d58 801:02ee9ef95277
901 @param security_limit: %(doc_security_limit)s 901 @param security_limit: %(doc_security_limit)s
902 /!\ security_limit MUST be added to data in launchCallback if used 902 /!\ security_limit MUST be added to data in launchCallback if used
903 @param help_string: string used to indicate what the menu do (can be show as a tooltip). 903 @param help_string: string used to indicate what the menu do (can be show as a tooltip).
904 /!\ use D_() instead of _() for translations 904 /!\ use D_() instead of _() for translations
905 @param type: one of: 905 @param type: one of:
906 - NORMAL: classical menu, can be shown in a menubar on top (e.g. something like File/Open) 906 - GLOBAL: classical menu, can be shown in a menubar on top (e.g. something like File/Open)
907 - ROOM: like a global menu, but only shown in multi-user chat
907 - JID_CONTEXT: contextual menu, used with any jid (e.g.: ad hoc commands, jid is already filled) 908 - JID_CONTEXT: contextual menu, used with any jid (e.g.: ad hoc commands, jid is already filled)
908 - ROSTER_JID_CONTEXT: like JID_CONTEXT, but restricted to jids in roster. 909 - ROSTER_JID_CONTEXT: like JID_CONTEXT, but restricted to jids in roster.
909 - ROSTER_GROUP_CONTEXT: contextual menu, used with group (e.g.: publish microblog, group is already filled) 910 - ROSTER_GROUP_CONTEXT: contextual menu, used with group (e.g.: publish microblog, group is already filled)
910 @return: menu_id (same as callback_id) 911 @return: menu_id (same as callback_id)
911 """ 912 """