in windows do not say about missing dbus bidingins

This commit is contained in:
Nikos Kouremenos 2005-08-15 18:28:19 +00:00
parent 894b012d3d
commit 8ac54a2e41
1 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@
import gobject
import gtk
import os
from common import gajim
from time import time
@ -48,7 +49,7 @@ SERVICE = 'org.gajim.dbus'
class Remote:
def __init__(self, plugin):
self.signal_object = None
if 'dbus' not in globals():
if 'dbus' not in globals() and not os.name == 'nt':
print _('D-Bus python bindings are missing in this computer')
print _('D-Bus capabilities of Gajim cannot be used')
raise DbusNotSupported()