Skip to content
Snippets Groups Projects
Commit a3774c57 authored by nkour's avatar nkour
Browse files

use single quotes; add a comment

parent 17034b65
No related branches found
No related tags found
No related merge requests found
......@@ -284,8 +284,8 @@ class Chat:
nickname.set_max_width_chars(10)
lbl = self.names[jid]
if num_unread:
lbl = "<b>" + unread + lbl + "</b>"
if num_unread: # if unread, text in the label becomes bold
lbl = '<b>' + unread + lbl + '</b>'
nickname.set_markup(lbl)
def get_message_type(self, jid):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment