From 8e92d97260c1a45a46b3aca8a927916120800146 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Sun, 7 Dec 2014 12:22:19 -0600 Subject: [PATCH] Trending topic buffers are removed from configuration --- src/gui/buffers/trends.py | 2 +- src/main.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/buffers/trends.py b/src/gui/buffers/trends.py index e959ae62..44321e0d 100644 --- a/src/gui/buffers/trends.py +++ b/src/gui/buffers/trends.py @@ -77,7 +77,7 @@ class trendsPanel(wx.Panel): dlg = wx.MessageDialog(self, _(u"Do you really want to delete this buffer?"), _(u"Attention"), style=wx.ICON_QUESTION|wx.YES_NO) if dlg.ShowModal() == wx.ID_YES: topics = config.main["other_buffers"]["trending_topic_buffers"] - topic = self.name_buffer + topic = self.name_buffer[:-3] log.info(u"Deleting %s's trending topics buffer" % topic) if topic in topics: topics.remove(topic) diff --git a/src/main.py b/src/main.py index dd8fae8e..18c65793 100644 --- a/src/main.py +++ b/src/main.py @@ -41,8 +41,8 @@ if hasattr(sys, 'frozen'): sys.stderr = open(paths.logs_path("stderr.log"), 'w') sys.stdout = open(paths.logs_path("stdout.log"), 'w') -#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()):