don't require python2.5
This commit is contained in:
parent
54422608ff
commit
bdcce03d5d
|
@ -1521,14 +1521,16 @@ class ChatControl(ChatControlBase):
|
||||||
label_text = '<span %s>%s</span><span %s>%s %s</span>' \
|
label_text = '<span %s>%s</span><span %s>%s %s</span>' \
|
||||||
% (font_attrs, name, font_attrs_small,
|
% (font_attrs, name, font_attrs_small,
|
||||||
acct_info, chatstate)
|
acct_info, chatstate)
|
||||||
label_tooltip = '%s%s %s' % (name, ' ' + acct_info \
|
if acct_info:
|
||||||
if acct_info else '', chatstate)
|
acct_info = ' ' + acct_info
|
||||||
|
label_tooltip = '%s%s %s' % (name, acct_info, chatstate)
|
||||||
else:
|
else:
|
||||||
# weight="heavy" size="x-large"
|
# weight="heavy" size="x-large"
|
||||||
label_text = '<span %s>%s</span><span %s>%s</span>' % \
|
label_text = '<span %s>%s</span><span %s>%s</span>' % \
|
||||||
(font_attrs, name, font_attrs_small, acct_info)
|
(font_attrs, name, font_attrs_small, acct_info)
|
||||||
label_tooltip = '%s%s' % (name, ' ' + acct_info \
|
if acct_info:
|
||||||
if acct_info else '')
|
acct_info = ' ' + acct_info
|
||||||
|
label_tooltip = '%s%s' % (name, acct_info)
|
||||||
|
|
||||||
if status_escaped:
|
if status_escaped:
|
||||||
if gajim.HAVE_PYSEXY:
|
if gajim.HAVE_PYSEXY:
|
||||||
|
|
Loading…
Reference in New Issue