Philipp Hörist pushed to branch master at gajim / gajim
Commits: 241deac3 by Philipp Hörist at 2018-03-27T23:43:24+02:00 ChatControl: Display status message nicer
- - - - -
1 changed file:
- gajim/chat_control.py
Changes:
===================================== gajim/chat_control.py ===================================== --- a/gajim/chat_control.py +++ b/gajim/chat_control.py @@ -1517,13 +1517,11 @@ class ChatControl(ChatControlBase): self.update_ui() self.parent_win.redraw_tab(self)
- self.print_conversation(_('%(name)s is now %(status)s') % {'name': name, - 'status': uf_show}, 'status') - if status: - self.print_conversation(' (', 'status', simple=True) - self.print_conversation('%s' % (status), 'status', simple=True) - self.print_conversation(')', 'status', simple=True) + status = '- %s' % status + status_line = _('%(name)s is now %(show)s %(status)s') % { + 'name': name, 'show': uf_show, 'status': status or ''} + self.print_conversation(status_line, 'status')
def _info_bar_show_message(self): if self.info_bar.get_visible():
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/241deac31cf6992d451ff1c044f81df0160...
--- View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/241deac31cf6992d451ff1c044f81df0160... You're receiving this email because of your account on dev.gajim.org.