changeset a669ca598089 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=a669ca598089 description: revert test patch. fix previous commit
diffstat:
src/roster_window.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diffs (17 lines):
diff -r 89ca4c2f1dd0 -r a669ca598089 src/roster_window.py --- a/src/roster_window.py Wed Aug 22 22:21:26 2012 +0400 +++ b/src/roster_window.py Wed Aug 22 22:28:41 2012 +0400 @@ -1192,10 +1192,10 @@
# add status msg, if not empty, under contact name in # the treeview - if not contact.status: - contact.status = ' ' if contact.status and gajim.config.get('show_status_msgs_in_roster'): - status = helpers.reduce_chars_newlines(contact.status, + status = contact.status.strip() + if status != '': + status = helpers.reduce_chars_newlines(status, max_lines = 1) # escape markup entities and make them small # italic and fg color color is calcuted to be