Expand URL button is shown in the view tweet dialogue

This commit is contained in:
2015-03-12 11:45:53 -06:00
parent 5926732c26
commit 4f4b8c6447
3 changed files with 11 additions and 0 deletions

View File

@@ -159,6 +159,7 @@ class viewTweet(basicTweet):
widgetUtils.connect_event(self.message.spellcheck, widgetUtils.BUTTON_PRESSED, self.spellcheck)
widgetUtils.connect_event(self.message.translateButton, widgetUtils.BUTTON_PRESSED, self.translate)
if self.contain_urls() == True:
self.message.enable_button("unshortenButton")
widgetUtils.connect_event(self.message.unshortenButton, widgetUtils.BUTTON_PRESSED, self.unshorten)
self.message.get_response()