Use set_markup instead of set_text
This commit is contained in:
parent
924f9357ba
commit
30f94e52c6
|
@ -102,10 +102,10 @@ class MyTwitter():
|
|||
timestring = timestamp.astimezone(timezone).strftime(time_format)
|
||||
|
||||
labeltext = user.name + " (" + user.screen_name + ") " + timestring
|
||||
self.labels[i].set_text(labeltext)
|
||||
self.labels[i].set_markup(labeltext)
|
||||
|
||||
# Display the text of the tweet
|
||||
self.texts[i].set_text(statuses[i].text)
|
||||
self.texts[i].set_markup(statuses[i].text)
|
||||
|
||||
|
||||
def update_window_callback(self, widget):
|
||||
|
|
Reference in New Issue
Block a user