Added chat buffer count in the preferences dialog

This commit is contained in:
2019-09-15 10:52:01 -05:00
parent 5b3a013766
commit 33ab63c1bc
6 changed files with 14 additions and 3 deletions

View File

@@ -26,6 +26,13 @@ class general(wx.Panel, widgetUtils.BaseDialog):
box3.Add(lbl3, 0, wx.ALL, 5)
box3.Add(self.video_buffers_count, 0, wx.ALL, 5)
sizer.Add(box3, 0, wx.ALL, 5)
lbl4 = wx.StaticText(self, wx.NewId(), _("Number of items to load in conversation buffers (maximun 200)"))
self.chat_buffers_count = wx.SpinCtrl(self, wx.NewId())
self.chat_buffers_count.SetRange(1, 200)
box4 = wx.BoxSizer(wx.HORIZONTAL)
box4.Add(lbl4, 0, wx.ALL, 5)
box4.Add(self.chat_buffers_count, 0, wx.ALL, 5)
sizer.Add(box4, 0, wx.ALL, 5)
self.load_images = wx.CheckBox(self, wx.NewId(), _("Load images in posts"))
sizer.Add(self.load_images, 0, wx.ALL, 5)
self.use_proxy = wx.CheckBox(self, wx.NewId(), _("Use proxy"))