comparison src/browser/sat_browser/chat.py @ 815:55a2cf64ffee

browser (chat): printing the history is left to quick_frontend
author souliane <souliane@mailoo.org>
date Tue, 22 Dec 2015 11:37:25 +0100
parents 9e1e6d5241f9
children f8a7a046ff9c
comparison
equal deleted inserted replaced
814:e8c0c2b5e2d5 815:55a2cf64ffee
121 self.message_box = editor_widget.MessageBox(self.host) 121 self.message_box = editor_widget.MessageBox(self.host)
122 self.message_box.onSelectedChange(self) 122 self.message_box.onSelectedChange(self)
123 self.message_box.addKeyboardListener(self) 123 self.message_box.addKeyboardListener(self)
124 self.vpanel.add(self.message_box) 124 self.vpanel.add(self.message_box)
125 125
126 if type_ == C.CHAT_ONE2ONE:
127 self.historyPrint(profile=self.profile)
128
129 def onWindowResized(self, width=None, height=None): 126 def onWindowResized(self, width=None, height=None):
130 ideal_height = self.content_scroll.getOffsetHeight() 127 ideal_height = self.content_scroll.getOffsetHeight()
131 self.occupants_panel.setHeight("%s%s" % (ideal_height, "px")) 128 self.occupants_panel.setHeight("%s%s" % (ideal_height, "px"))
132 129
133 @property 130 @property