mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-07-17 21:56:07 -04:00
Post tweets and translate is possible in the next-gen
This commit is contained in:
@@ -24,6 +24,9 @@ class textLimited(baseDialog.BaseWXDialog):
|
||||
def get_text(self):
|
||||
return self.text.GetValue()
|
||||
|
||||
def set_text(self, text):
|
||||
return self.text.ChangeValue(text)
|
||||
|
||||
def onSelect(self, ev):
|
||||
self.text.SelectAll()
|
||||
|
||||
|
@@ -31,7 +31,7 @@ class mainFrame(wx.Frame):
|
||||
# Tweet menu
|
||||
tweet = wx.Menu()
|
||||
compose = tweet.Append(wx.NewId(), _(u"&Tweet"))
|
||||
# self.view.Bind(wx.EVT_MENU, self.compose, compose)
|
||||
self.Bind(wx.EVT_MENU, self.controller.post_tweet, compose)
|
||||
response = tweet.Append(wx.NewId(), _(u"Re&ply"))
|
||||
# self.view.Bind(wx.EVT_MENU, self.reply, response)
|
||||
retweet = tweet.Append(wx.NewId(), _(u"&Retweet"))
|
||||
|
Reference in New Issue
Block a user