use single quotes; add a comment
This commit is contained in:
parent
17034b654a
commit
a3774c5747
|
@ -284,8 +284,8 @@ class Chat:
|
||||||
|
|
||||||
nickname.set_max_width_chars(10)
|
nickname.set_max_width_chars(10)
|
||||||
lbl = self.names[jid]
|
lbl = self.names[jid]
|
||||||
if num_unread:
|
if num_unread: # if unread, text in the label becomes bold
|
||||||
lbl = "<b>" + unread + lbl + "</b>"
|
lbl = '<b>' + unread + lbl + '</b>'
|
||||||
nickname.set_markup(lbl)
|
nickname.set_markup(lbl)
|
||||||
|
|
||||||
def get_message_type(self, jid):
|
def get_message_type(self, jid):
|
||||||
|
|
Loading…
Reference in New Issue