use size small, instead of medium for status
message in banner
This commit is contained in:
parent
f773f2d998
commit
cb02ad7f18
|
@ -904,16 +904,16 @@ class ChatControl(ChatControlBase):
|
|||
chatstate = helpers.get_uf_chatstate(cs)
|
||||
|
||||
label_text = \
|
||||
'<span %s>%s</span><span font_desc="%s" size="medium">%s %s</span>' % \
|
||||
'<span %s>%s</span><span font_desc="%s" size="small">%s %s</span>' % \
|
||||
(font_attrs, name, font.to_string(), acct_info, chatstate)
|
||||
else:
|
||||
# weight="heavy" size="x-large"
|
||||
label_text = \
|
||||
'<span %s>%s</span><span font_desc="%s" size="medium">%s</span>' % \
|
||||
'<span %s>%s</span><span font_desc="%s" size="small">%s</span>' % \
|
||||
(font_attrs, name, font.to_string(), acct_info)
|
||||
|
||||
if status:
|
||||
label_text += '\n<span font_desc="%s" size="medium">%s</span>' %\
|
||||
label_text += '\n<span font_desc="%s" size="small">%s</span>' %\
|
||||
(font.to_string(), status)
|
||||
|
||||
# setup the label that holds name and jid
|
||||
|
|
|
@ -527,7 +527,7 @@ _('Without a connection, you can not browse available services')).get_response()
|
|||
markup = '<span %s>%s</span>' % (font_attrs, text)
|
||||
if text_after:
|
||||
font.set_weight(pango.WEIGHT_NORMAL)
|
||||
markup = '%s\n<span font_desc="%s" size="medium">%s</span>' % \
|
||||
markup = '%s\n<span font_desc="%s" size="small">%s</span>' % \
|
||||
(markup, font.to_string(), text_after)
|
||||
self.banner.set_markup(markup)
|
||||
|
||||
|
|
Loading…
Reference in New Issue