comparison src/plugins/plugin_misc_text_syntaxes.py @ 702:a25db3fe3959

plugin XEP-0071: rich messages management for sendMessage
author Goffi <goffi@goffi.org>
date Wed, 13 Nov 2013 14:03:16 +0100
parents e819630c6737
children 6c8a119dcc94
comparison
equal deleted inserted replaced
701:98b2400e17d6 702:a25db3fe3959
119 options.append(u'<option value="%s" />' % syntax) 119 options.append(u'<option value="%s" />' % syntax)
120 120
121 TextSyntaxes.params_data["options"] = u'\n'.join(options) 121 TextSyntaxes.params_data["options"] = u'\n'.join(options)
122 self.host.memory.updateParams(TextSyntaxes.params % TextSyntaxes.params_data) 122 self.host.memory.updateParams(TextSyntaxes.params % TextSyntaxes.params_data)
123 123
124 def getFavoriteSyntax(self, profile): 124 def getCurrentSyntax(self, profile):
125 """ Return the selected syntax for the given profile 125 """ Return the selected syntax for the given profile
126 126
127 @param profile: %(doc_profile)s 127 @param profile: %(doc_profile)s
128 @return: profile selected syntax 128 @return: profile selected syntax
129 """ 129 """