Moved DBUS interface related variables.
This commit is contained in:
parent
06b6809b29
commit
e8d704e96b
|
@ -43,6 +43,10 @@ from common import dbus_support
|
|||
if dbus_support.supported:
|
||||
import dbus
|
||||
if dbus_support:
|
||||
INTERFACE = 'org.gajim.dbusplugin.RemoteInterface'
|
||||
OBJ_PATH = '/org/gajim/dbusplugin/RemoteObject'
|
||||
SERVICE = 'org.gajim.dbusplugin'
|
||||
|
||||
import dbus.service
|
||||
import dbus.glib
|
||||
# type mapping
|
||||
|
@ -666,10 +670,6 @@ if dbus_support.supported:
|
|||
else:
|
||||
gajim.interface.join_gc_room(account, room_jid, nick, password)
|
||||
|
||||
INTERFACE = 'org.gajim.dbusplugin.RemoteInterface'
|
||||
OBJ_PATH = '/org/gajim/dbusplugin/RemoteObject'
|
||||
SERVICE = 'org.gajim.dbusplugin'
|
||||
|
||||
from common import gajim
|
||||
from common import helpers
|
||||
from time import time
|
||||
|
|
Loading…
Reference in New Issue