changeset df1ad38561be in /home/hg/repos/gajim
branches:
details:http://hg.gajim.org/gajim?cmd=changeset;node=df1ad38561be
description: [Darlan] Improved BiDi support for status messages
diffstat:
src/conversation_textview.py | 5 ++++-
1 файлов изменено, 4 вставок(+), 1 удалений(-)
различия (15 строк):
diff -r c05a63821060 -r df1ad38561be src/conversation_textview.py
--- a/src/conversation_textview.py Mon Jul 22 11:17:24 2013 +0400
+++ b/src/conversation_textview.py Mon Jul 22 21:10:54 2013 +0400
@@ -1294,7 +1294,10 @@
direction_mark = i18n.paragraph_direction_mark(unicode(text))
# don't apply direction mark if it's status message
if kind == 'status':
- direction_mark = ''
+ if gtk.widget_get_default_direction() == gtk.TEXT_DIR_LTR:
+ direction_mark = u'\u200E'
+ else:
+ direction_mark = u'\u200F'
if current_print_time == 'always' and kind != 'info' and not simple:
timestamp_str = self.get_time_to_show(tim)
timestamp = time.strftime(timestamp_str, tim)
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits