kill old dbus

This commit is contained in:
Nikos Kouremenos 2006-09-24 19:22:10 +00:00
parent 0b79e47c8a
commit e9a6b7c108
1 changed files with 4 additions and 9 deletions

View File

@ -36,14 +36,9 @@ from dialogs import AddNewContactWindow, NewChatDialog
import dbus_support
if dbus_support.supported:
import dbus
if dbus_support.version >= (0, 41, 0):
if dbus_support:
import dbus.service
import dbus.glib # cause dbus 0.35+ doesn't return signal replies without it
DbusPrototype = dbus.service.Object
elif dbus_support.version >= (0, 20, 0):
DbusPrototype = dbus.Object
else: #dbus is not defined
DbusPrototype = str
INTERFACE = 'org.gajim.dbus.RemoteInterface'
OBJ_PATH = '/org/gajim/dbus/RemoteObject'