0.50 Release changes. Last commit for this year.

This commit is contained in:
Manuel Cortez 2014-12-18 00:59:18 -06:00
parent 836675bfa1
commit 375cdd2528
22 changed files with 3880 additions and 2974 deletions

View File

@ -88,8 +88,7 @@ class trendsPanel(wx.Panel):
if not hasattr(self, "name"): if not hasattr(self, "name"):
self.name = data[0]["locations"][0]["name"] self.name = data[0]["locations"][0]["name"]
self.trends = data[0]["trends"] self.trends = data[0]["trends"]
# We need to get the trends sound, so the next line is commented. sound.player.play(self.sound)
# sound.player.play(self.sound)
return len(self.trends) return len(self.trends)
def get_more_items(self): def get_more_items(self):

View File

@ -145,6 +145,7 @@ class follow(wx.Dialog):
client = re.sub(r"(?s)<.*?>", "", tweet["source"]) client = re.sub(r"(?s)<.*?>", "", tweet["source"])
if client not in config.main["twitter"]["ignored_clients"]: if client not in config.main["twitter"]["ignored_clients"]:
config.main["twitter"]["ignored_clients"].append(client) config.main["twitter"]["ignored_clients"].append(client)
self.Destroy()
def setup_default(self, default): def setup_default(self, default):
if default == "follow": if default == "follow":

View File

@ -165,6 +165,14 @@ class userListViewer(listViewer):
self.db.settings["lists"].append(list) self.db.settings["lists"].append(list)
except TwythonError as e: except TwythonError as e:
output.speak("error %s: %s" % (e.status_code, e.msg)) output.speak("error %s: %s" % (e.status_code, e.msg))
def onDelete(self, event=None):
list_id = self.lists[self.lista.get_selected()]["id"]
try:
list = self.twitter.twitter.unsubscribe_from_list(list_id=list_id)
item = utils.find_item(list["id"], self.db.settings["lists"])
self.db.settings["lists"].remove(list)
except TwythonError as e:
output.speak("error %s: %s" % (e.msg))
class createListDialog(wx.Dialog): class createListDialog(wx.Dialog):

View File

@ -324,7 +324,7 @@ class mainFrame(wx.Frame):
self.fav_stream = RepeatingTimer(180, self.get_fav_buffers) self.fav_stream = RepeatingTimer(180, self.get_fav_buffers)
self.fav_stream.start() self.fav_stream.start()
for i in config.main["other_buffers"]["trending_topic_buffers"]: for i in config.main["other_buffers"]["trending_topic_buffers"]:
buff = buffers.trendsPanel(self.nb, self, "%s_tt" % (i,), argumento=i, sound="trendd_updated.ogg") buff = buffers.trendsPanel(self.nb, self, "%s_tt" % (i,), argumento=i, sound="trends_updated.ogg")
timer = RepeatingTimer(300, buff.start_streams) timer = RepeatingTimer(300, buff.start_streams)
timer.start() timer.start()
num = buff.start_streams() num = buff.start_streams()
@ -1063,7 +1063,7 @@ class mainFrame(wx.Frame):
woeid = trendingDialog.countries[trendingDialog.location.GetStringSelection()] woeid = trendingDialog.countries[trendingDialog.location.GetStringSelection()]
elif trendingDialog.city.GetValue() == True: elif trendingDialog.city.GetValue() == True:
woeid = trendingDialog.cities[trendingDialog.location.GetStringSelection()] woeid = trendingDialog.cities[trendingDialog.location.GetStringSelection()]
buff = buffers.trendsPanel(self.nb, self, "%s_tt" % (woeid,), argumento=woeid, sound="trend_updated.ogg") buff = buffers.trendsPanel(self.nb, self, "%s_tt" % (woeid,), argumento=woeid, sound="trends_updated.ogg")
self.nb.InsertSubPage(self.db.settings["buffers"].index(self.db.settings["user_name"]), buff, _(u"Trending topics for %s") % (trendingDialog.location.GetStringSelection(),)) self.nb.InsertSubPage(self.db.settings["buffers"].index(self.db.settings["user_name"]), buff, _(u"Trending topics for %s") % (trendingDialog.location.GetStringSelection(),))
timer = RepeatingTimer(300, buff.start_streams) timer = RepeatingTimer(300, buff.start_streams)
timer.start() timer.start()

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

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.

View File

@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: TW Blue 0.50\n" "Project-Id-Version: TW Blue 0.50\n"
"POT-Creation-Date: 2014-12-10 23:20+Hora estándar central (México)\n" "POT-Creation-Date: 2014-12-10 23:20+Hora estándar central (México)\n"
"PO-Revision-Date: 2014-12-11 17:11+0100\n" "PO-Revision-Date: 2014-12-12 17:53+0100\n"
"Last-Translator: Chris Leo Mameli <llajta2012@gmail.com>\n" "Last-Translator: Chris Leo Mameli <llajta2012@gmail.com>\n"
"Language-Team: Manuel Cortez <info@twblue.com.mx>\n" "Language-Team: Manuel Cortez <info@twblue.com.mx>\n"
"Language: it\n" "Language: it\n"
@ -348,7 +348,7 @@ msgstr ""
#: ../src\extra\autocompletionUsers\wx_manage.py:7 #: ../src\extra\autocompletionUsers\wx_manage.py:7
msgid "Manage Autocomplete users database" msgid "Manage Autocomplete users database"
msgstr "Gestisci autocompletamento per per gli utenti nel database" msgstr "Gestisci autocompletamento per gli utenti nel database"
#: ../src\extra\autocompletionUsers\wx_manage.py:10 #: ../src\extra\autocompletionUsers\wx_manage.py:10
msgid "Editing TWBlue users database" msgid "Editing TWBlue users database"
@ -403,7 +403,7 @@ msgstr "Aggiungi utenti dall'elenco dei following"
#: ../src\extra\autocompletionUsers\wx_settings.py:13 #: ../src\extra\autocompletionUsers\wx_settings.py:13
msgid "See the users list" msgid "See the users list"
msgstr "Vedere la lista degli utenti" msgstr "Visualizza la lista degli utenti"
#: ../src\extra\autocompletionUsers\wx_settings.py:25 #: ../src\extra\autocompletionUsers\wx_settings.py:25
msgid "Done" msgid "Done"

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