mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-02-22 08:31:20 -06:00
Merge branch 'master' of https://github.com/manuelcortez/TWBlue
This commit is contained in:
commit
aa687450f6
@ -125,7 +125,7 @@ class trendsPanelMenu(wx.Menu):
|
|||||||
self.window = parent
|
self.window = parent
|
||||||
tweetThisTrend = wx.MenuItem(self, wx.NewId(), _(u"&Tweet about this trend"))
|
tweetThisTrend = wx.MenuItem(self, wx.NewId(), _(u"&Tweet about this trend"))
|
||||||
self.Bind(wx.EVT_MENU, self.window.onResponse, tweetThisTrend)
|
self.Bind(wx.EVT_MENU, self.window.onResponse, tweetThisTrend)
|
||||||
self.AppendItem(reply)
|
self.AppendItem(tweetThisTrend)
|
||||||
view = wx.MenuItem(self, wx.NewId(), _(u"&Show item"))
|
view = wx.MenuItem(self, wx.NewId(), _(u"&Show item"))
|
||||||
self.Bind(wx.EVT_MENU, self.window.parent.view, view)
|
self.Bind(wx.EVT_MENU, self.window.parent.view, view)
|
||||||
self.AppendItem(view)
|
self.AppendItem(view)
|
||||||
|
@ -117,7 +117,7 @@ class trendsPanel(wx.Panel):
|
|||||||
|
|
||||||
def onResponse(self, ev):
|
def onResponse(self, ev):
|
||||||
trend = self.trends[self.list.get_selected()]["name"]
|
trend = self.trends[self.list.get_selected()]["name"]
|
||||||
text = gui.dialogs.message.tweet(_(u"Write the tweet here"), _(u"Tweet"), trend, self)
|
text = gui.dialogs.message.tweet(_(u"Write the tweet here"), _(u"Tweet"), trend+" ", self)
|
||||||
if text.ShowModal() == wx.ID_OK:
|
if text.ShowModal() == wx.ID_OK:
|
||||||
if text.image == None:
|
if text.image == None:
|
||||||
call_threaded(self.twitter.api_call, call_name="update_status", _sound="tweet_send.ogg", status=text.text.GetValue())
|
call_threaded(self.twitter.api_call, call_name="update_status", _sound="tweet_send.ogg", status=text.text.GetValue())
|
||||||
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -54,8 +54,8 @@ else:
|
|||||||
sys.stdout=stdout
|
sys.stdout=stdout
|
||||||
sys.stderr=stderr
|
sys.stderr=stderr
|
||||||
|
|
||||||
app = wx.App()
|
#app = wx.App()
|
||||||
#app = wx.App(redirect=True, useBestVisual=True, filename=paths.logs_path('tracebacks.log'))
|
app = wx.App(redirect=True, useBestVisual=True, filename=paths.logs_path('tracebacks.log'))
|
||||||
configured = False
|
configured = False
|
||||||
configs = []
|
configs = []
|
||||||
for i in os.listdir(paths.config_path()):
|
for i in os.listdir(paths.config_path()):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user