Moved DBUS interface related variables.
This commit is contained in:
parent
06b6809b29
commit
e8d704e96b
1 changed files with 4 additions and 4 deletions
|
@ -43,6 +43,10 @@ from common import dbus_support
|
||||||
if dbus_support.supported:
|
if dbus_support.supported:
|
||||||
import dbus
|
import dbus
|
||||||
if dbus_support:
|
if dbus_support:
|
||||||
|
INTERFACE = 'org.gajim.dbusplugin.RemoteInterface'
|
||||||
|
OBJ_PATH = '/org/gajim/dbusplugin/RemoteObject'
|
||||||
|
SERVICE = 'org.gajim.dbusplugin'
|
||||||
|
|
||||||
import dbus.service
|
import dbus.service
|
||||||
import dbus.glib
|
import dbus.glib
|
||||||
# type mapping
|
# type mapping
|
||||||
|
@ -666,10 +670,6 @@ if dbus_support.supported:
|
||||||
else:
|
else:
|
||||||
gajim.interface.join_gc_room(account, room_jid, nick, password)
|
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 gajim
|
||||||
from common import helpers
|
from common import helpers
|
||||||
from time import time
|
from time import time
|
||||||
|
|
Loading…
Add table
Reference in a new issue