changeset 0c7ed01e694d in /home/hg/repos/gajim

author: Yann Leboulanger <aste...@lagaule.org>
branches: 
details:http://hg.gajim.org/gajim?cmd=changeset;node=0c7ed01e694d
description: add 2 more direction mark :/. Fixes #7284

diffstat:

 src/dialogs.py           |  3 ++-
 src/groupchat_control.py |  2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r b2125286f00b -r 0c7ed01e694d src/dialogs.py
--- a/src/dialogs.py    Thu Sep 12 17:30:50 2013 +0200
+++ b/src/dialogs.py    Thu Sep 12 17:41:33 2013 +0200
@@ -4590,7 +4590,8 @@
                 % {'room_jid': room_jid}
         contact = gajim.contacts.get_first_contact_from_jid(account, jid)
         contact_text = contact and contact.name or jid
-        sectext = sectext.replace('$Contact', contact_text)
+        sectext = i18n.direction_mark + sectext.replace('$Contact',
+            contact_text)
 
         if comment: # only if not None and not ''
             comment = gobject.markup_escape_text(comment)
diff -r b2125286f00b -r 0c7ed01e694d src/groupchat_control.py
--- a/src/groupchat_control.py  Thu Sep 12 17:30:50 2013 +0200
+++ b/src/groupchat_control.py  Thu Sep 12 17:41:33 2013 +0200
@@ -1545,7 +1545,7 @@
 
         newly_created = False
         nick = i18n.direction_mark + obj.nick
-        nick_jid = nick
+        nick_jid = nick + i18n.direction_mark
 
         # Set to true if role or affiliation have changed
         right_changed = False
_______________________________________________
Commits mailing list
Commits@gajim.org
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to