From f63ed6d0a70960a6f81f5052a1a4e6ab34e619e1 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Fri, 17 Aug 2018 02:24:02 -0500 Subject: [PATCH] Removed hold code related to application.streaming_lives(). Fixes #248 --- src/wxUI/dialogs/configuration.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/wxUI/dialogs/configuration.py b/src/wxUI/dialogs/configuration.py index 09b85b90..df7560cd 100644 --- a/src/wxUI/dialogs/configuration.py +++ b/src/wxUI/dialogs/configuration.py @@ -102,14 +102,6 @@ class generalAccount(wx.Panel, baseDialog.BaseWXDialog): sizer.Add(self.au, 0, wx.ALL, 5) self.relative_time = wx.CheckBox(self, wx.ID_ANY, _(U"Relative timestamps")) sizer.Add(self.relative_time, 0, wx.ALL, 5) - if application.streaming_lives(): - apiCallsBox = wx.BoxSizer(wx.HORIZONTAL) - apiCallsBox.Add(wx.StaticText(self, -1, _(u"API calls (One API call = 200 tweets, two API calls = 400 tweets, etc):")), 0, wx.ALL, 5) - self.apiCalls = wx.SpinCtrl(self, wx.ID_ANY) - self.apiCalls.SetRange(1, 10) - self.apiCalls.SetSize(self.apiCalls.GetBestSize()) - apiCallsBox.Add(self.apiCalls, 0, wx.ALL, 5) - sizer.Add(apiCallsBox, 0, wx.ALL, 5) tweetsPerCallBox = wx.BoxSizer(wx.HORIZONTAL) tweetsPerCallBox.Add(wx.StaticText(self, -1, _(u"Items on each API call")), 0, wx.ALL, 5) self.itemsPerApiCall = wx.SpinCtrl(self, wx.ID_ANY)