diff --git a/src/controller/mainController.py b/src/controller/mainController.py index 3158fde..22db09c 100644 --- a/src/controller/mainController.py +++ b/src/controller/mainController.py @@ -328,7 +328,6 @@ class Controller(object): wx.CallAfter(self.chat_from_id, i["message"]["user_id"], setfocus=False) def mark_as_read(self): - print "Marking as read" ids = "" for i in self.buffers: if hasattr(i, "reads"): diff --git a/src/widgetUtils/wxUtils.py b/src/widgetUtils/wxUtils.py index 627d56f..2f08081 100644 --- a/src/widgetUtils/wxUtils.py +++ b/src/widgetUtils/wxUtils.py @@ -140,8 +140,8 @@ class list(object): def set_windows_size(self, column, characters_max): self.list.SetColumnWidth(column, characters_max*2) - def set_size(self): - self.list.SetSize((self.list.GetBestSize()[0], 728)) + def set_size(self): return +# self.list.SetSize((self.list.GetBestSize()[0], 728)) def create_list(self, parent): self.list = wx.ListCtrl(parent, -1, **self.listArguments)