Code changes for Snapshot 6

This commit is contained in:
Manuel Cortez 2014-12-11 12:21:37 -06:00
parent 9502cef251
commit 6e0ae38d4e
9 changed files with 1430 additions and 1096 deletions

View File

@ -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)

View File

@ -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

View File

@ -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()):