changeset caeb67194247 in /home/hg/repos/gajim
branches: gtk3
details:http://hg.gajim.org/gajim?cmd=changeset;node=caeb67194247
description: [Darlan] Improved BiDi support for status messages
diffstat:
src/conversation_textview.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r 89dd26f715aa -r caeb67194247 src/conversation_textview.py
--- a/src/conversation_textview.py Sun Jul 21 23:26:58 2013 +0400
+++ b/src/conversation_textview.py Mon Jul 22 21:10:54 2013 +0400
@@ -1309,7 +1309,10 @@
direction_mark = i18n.paragraph_direction_mark(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