mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-02-20 08:53:08 -05:00
Code changes for Snapshot 6
This commit is contained in:
parent
9502cef251
commit
6e0ae38d4e
@ -125,7 +125,7 @@ class trendsPanelMenu(wx.Menu):
|
||||
self.window = parent
|
||||
tweetThisTrend = wx.MenuItem(self, wx.NewId(), _(u"&Tweet about this trend"))
|
||||
self.Bind(wx.EVT_MENU, self.window.onResponse, tweetThisTrend)
|
||||
self.AppendItem(reply)
|
||||
self.AppendItem(tweetThisTrend)
|
||||
view = wx.MenuItem(self, wx.NewId(), _(u"&Show item"))
|
||||
self.Bind(wx.EVT_MENU, self.window.parent.view, view)
|
||||
self.AppendItem(view)
|
||||
|
@ -117,7 +117,7 @@ class trendsPanel(wx.Panel):
|
||||
|
||||
def onResponse(self, ev):
|
||||
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.image == None:
|
||||
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.stderr=stderr
|
||||
|
||||
app = wx.App()
|
||||
#app = wx.App(redirect=True, useBestVisual=True, filename=paths.logs_path('tracebacks.log'))
|
||||
#app = wx.App()
|
||||
app = wx.App(redirect=True, useBestVisual=True, filename=paths.logs_path('tracebacks.log'))
|
||||
configured = False
|
||||
configs = []
|
||||
for i in os.listdir(paths.config_path()):
|
||||
|
Loading…
x
Reference in New Issue
Block a user