#15: Initial work for persistance size limiting.

This commit is contained in:
Bill Dengler
2015-05-09 23:04:06 -04:00
parent 4d4816a61b
commit f394701789
4 changed files with 21 additions and 8 deletions

View File

@@ -92,7 +92,10 @@ class generalAccount(wx.Panel, baseDialog.BaseWXDialog):
rMode.Add(lbl, 0, wx.ALL, 5)
rMode.Add(self.retweet_mode, 0, wx.ALL, 5)
sizer.Add(rMode, 0, wx.ALL, 5)
self.persistant_session = wx.CheckBox(self, -1, _(u"Cache session in database (experimental)"))
PersistSizeLabel = wx.StaticText(self, -1, _(u"Number of items per buffer to cache in database (0 to disable caching, blank for unlimited)"))
self.persist_size = wx.TextCtrl(self, -1)
sizer.Add(PersistSizeLabel, 0, wx.ALL, 5)
sizer.Add(self.persist_size, 0, wx.ALL, 5)
self.SetSizer(sizer)
class other_buffers(wx.Panel):