Get back to PIN code authorization due to Twitter changes. Closes #216

This commit is contained in:
2018-06-06 09:11:37 -05:00
parent c2d81279fe
commit 9847f7ad01
3 changed files with 16 additions and 21 deletions

View File

@@ -80,7 +80,9 @@ class authorisationDialog(wx.Dialog):
super(authorisationDialog, self).__init__(parent=None, title=_(u"Authorising account..."))
panel = wx.Panel(self)
sizer = wx.BoxSizer(wx.VERTICAL)
self.text = wx.TextCtrl(panel, -1, _("Waiting for account authorisation..."), style=wx.TE_READONLY|wx.TE_MULTILINE)
static = wx.StaticText(panel, wx.NewId(), _(u"Enter your PIN code here"))
self.text = wx.TextCtrl(panel, -1)
self.ok = wx.Button(panel, wx.ID_OK)
self.cancel = wx.Button(panel, wx.ID_CANCEL)
sizer.Add(self.text, 0, wx.ALL, 5)
sizer.Add(self.cancel, 0, wx.ALL, 5)