kill old dbus
This commit is contained in:
parent
0b79e47c8a
commit
e9a6b7c108
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue