From a3774c57474bf22e91d65f49012f0a8e6e5d83fa Mon Sep 17 00:00:00 2001
From: Nikos Kouremenos <kourem@gmail.com>
Date: Tue, 29 Nov 2005 10:20:39 +0000
Subject: [PATCH] use single quotes; add a comment

---
 src/chat.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/chat.py b/src/chat.py
index 5a3ee17e4b..50d85aa6aa 100644
--- a/src/chat.py
+++ b/src/chat.py
@@ -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):
-- 
GitLab