Fixed syntax error.

This commit is contained in:
Bill Dengler 2015-05-10 13:24:56 -04:00
parent e52385317e
commit 5001559c7c

View File

@ -2,7 +2,7 @@
from gi.repository import Gtk
import application
def retweet_as_link(parent):
dialog = Gtk.MessageDialog(None, 0, Gtk.MessageType.QUESTION, Gtk.ButtonsType.YES_NO, _(unicode(application.name))
dialog = Gtk.MessageDialog(None, 0, Gtk.MessageType.QUESTION, Gtk.ButtonsType.YES_NO, unicode(application.name))
dialog.format_secondary_text(_(u"This retweet is over 140 characters. Would you like to post it as a mention to the poster with your comments and a link to the original tweet?"))
answer = dialog.run()
dialog.destroy()