we now show the resource in tabbed_chat_window (thx Liorithiel)
This commit is contained in:
parent
9f925c236e
commit
03a98e86d8
1 changed files with 6 additions and 1 deletions
|
@ -102,8 +102,13 @@ class TabbedChatWindow(chat.Chat):
|
||||||
# this is the text for the big brown bar
|
# this is the text for the big brown bar
|
||||||
# some chars need to be escaped.. this fixes '&'
|
# some chars need to be escaped.. this fixes '&'
|
||||||
name = name.replace('&', '&')
|
name = name.replace('&', '&')
|
||||||
|
|
||||||
|
# composing full jid
|
||||||
|
fulljid = jid
|
||||||
|
if self.users[jid].resource:
|
||||||
|
fulljid += '/' + self.users[jid].resource
|
||||||
label_text = '<span weight="heavy" size="x-large">%s</span>\n%s' \
|
label_text = '<span weight="heavy" size="x-large">%s</span>\n%s' \
|
||||||
% (name, jid)
|
% (name, fulljid)
|
||||||
|
|
||||||
# setup the label that holds name and jid
|
# setup the label that holds name and jid
|
||||||
banner_name_label = self.xmls[jid].get_widget('banner_name_label')
|
banner_name_label = self.xmls[jid].get_widget('banner_name_label')
|
||||||
|
|
Loading…
Add table
Reference in a new issue