From f6ba23bf13a4c2bcdb5c1c87ca465c624826393a Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Tue, 10 Oct 2006 15:33:08 +0000 Subject: [PATCH] if not dbus, music track synching cannot happen no matter if user is not windows user. fixes #2526 --- src/config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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