Use set_markup instead of set_text

This commit is contained in:
Anna 2010-04-09 00:12:39 -04:00
parent 924f9357ba
commit 30f94e52c6

View File

@ -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):