Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikos Kouremenos <kourem@gmail.com>2006-10-10 19:33:08 +0400
committerNikos Kouremenos <kourem@gmail.com>2006-10-10 19:33:08 +0400
commitf6ba23bf13a4c2bcdb5c1c87ca465c624826393a (patch)
treecc601a1a16b508da46126764bb4c7277f5c30f47 /src
parent627469e5e0ab0d469c99ab8d42958b51f76f4dc4 (diff)
if not dbus, music track synching cannot happen no matter if user is not windows user. fixes #2526
Diffstat (limited to 'src')
-rw-r--r--src/config.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/config.py b/src/config.py
index 9fbfe8f5a..1c8cd49fd 100644
--- a/src/config.py
+++ b/src/config.py
@@ -38,6 +38,7 @@ from common import helpers
from common import gajim
from common import connection
from common import passwords
+from common import dbus_support
from common.exceptions import GajimGeneralException
@@ -466,9 +467,11 @@ class PreferencesWindow:
if os.name == 'nt':
widget.set_no_show_all(True)
widget.hide()
- else:
+ elif dbus_support.supported:
st = gajim.config.get('set_status_msg_from_current_music_track')
widget.set_active(st)
+ else:
+ widget.set_sensitive(False)
# Notify user of new gmail e-mail messages,
# only show checkbox if user has a gtalk account