def append(self, text, cedict,scroll=True): '''append formatted text to the widget''' if self.config.b_show_emoticons: text = MarkupParser.replace_emotes(text, cedict) #Parse links text = MarkupParser.urlify(text) #Parse links text = MarkupParser.urlify(text) #Parse links text = MarkupParser.urlify(text) TextBox.append(self, text, scroll)
def append(self, text, cedict, scroll=True): '''append formatted text to the widget''' if self.config.b_show_emoticons: text = MarkupParser.replace_emotes(text, cedict) #Parse links text = MarkupParser.urlify(text) TextBox.append(self, text, scroll)
def _set_extension_info(self, ext): """fill the information about the ext""" name = self.get_attr_or_default(ext, 'NAME', '?') description = self.get_attr_or_default(ext, 'DESCRIPTION', '?') author = self.get_attr_or_default(ext, 'AUTHOR', '?') website = self.get_attr_or_default(ext, 'WEBSITE', '?') self.name_info.set_text(name) self.description_info.set_text(description) self.author_info.set_text(author) self.website_info.set_markup(MarkupParser.urlify(website))