From 4062d3d3a8531048466edbfc23a7a74d6589f2e0 Mon Sep 17 00:00:00 2001
From: Nikos Kouremenos <kourem@gmail.com>
Date: Sun, 24 Sep 2006 19:27:52 +0000
Subject: [PATCH] improve comments

---
 src/dbus_support.py  | 5 ++---
 src/roster_window.py | 3 ++-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/dbus_support.py b/src/dbus_support.py
index 112c412fe2..d4f7542a3f 100644
--- a/src/dbus_support.py
+++ b/src/dbus_support.py
@@ -24,9 +24,8 @@ from common import exceptions
 try:
 	import dbus
 	import dbus.service
-	# cause dbus 0.35+ doesn't return signal replies without it
 	import dbus.glib
-	supported = True
+	supported = True # does use have D-Bus bindings?
 except ImportError:
 	supported = False
 	if not os.name == 'nt': # only say that to non Windows users
@@ -34,7 +33,7 @@ except ImportError:
 		print _('D-Bus capabilities of Gajim cannot be used')
 
 class SessionBus:
-	'''A Singleton for the DBus SessionBus'''
+	'''A Singleton for the D-Bus SessionBus'''
 	def __init__(self):
 		self.session_bus = None
 	
diff --git a/src/roster_window.py b/src/roster_window.py
index 7db74b36d5..a37815d9ca 100644
--- a/src/roster_window.py
+++ b/src/roster_window.py
@@ -2392,7 +2392,8 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
 		'''if enabled is True, we listen to events from music players about
 		currently played music track, and we update our
 		status message accordinly'''
-		if not dbus_support.supported: # do nothing if we haven't D-Bus running
+		if not dbus_support.supported:
+			# do nothing if user doesn't have D-Bus bindings
 			return
 		if enabled:
 			if self._music_track_changed_signal is None:
-- 
GitLab