Mercurial > libervia-web
comparison src/browser/sat_browser/chat.py @ 808:9e1e6d5241f9
browser_side: restore printing the day change while displaying history
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 15 Dec 2015 20:04:03 +0100 |
parents | 0576fec37be0 |
children | 55a2cf64ffee |
comparison
equal
deleted
inserted
replaced
807:0576fec37be0 | 808:9e1e6d5241f9 |
---|---|
243 if extra is None: | 243 if extra is None: |
244 extra = {} | 244 extra = {} |
245 self.content.add(ChatText(timestamp, nick, my_message, message, extra)) | 245 self.content.add(ChatText(timestamp, nick, my_message, message, extra)) |
246 self.content_scroll.scrollToBottom() | 246 self.content_scroll.scrollToBottom() |
247 | 247 |
248 def printDayChange(self, day): | |
249 """Display the day on a new line. | |
250 | |
251 @param day(unicode): day to display (or not if this method is not overwritten) | |
252 """ | |
253 self.printInfo("* " + day) | |
254 | |
248 def setTitle(self, title=None, extra=None): | 255 def setTitle(self, title=None, extra=None): |
249 """Refresh the title of this Chat dialog | 256 """Refresh the title of this Chat dialog |
250 | 257 |
251 @param title (unicode): main title or None to use default | 258 @param title (unicode): main title or None to use default |
252 @param suffix (unicode): extra title (e.g. for chat states) or None | 259 @param suffix (unicode): extra title (e.g. for chat states) or None |