Port remote control to GDBus
This commit is contained in:
parent
923ce01c47
commit
7447f33c5e
|
@ -60,7 +60,7 @@ except Exception:
|
||||||
|
|
||||||
OBJ_PATH = '/org/gajim/dbus/RemoteObject'
|
OBJ_PATH = '/org/gajim/dbus/RemoteObject'
|
||||||
INTERFACE = 'org.gajim.dbus.RemoteInterface'
|
INTERFACE = 'org.gajim.dbus.RemoteInterface'
|
||||||
SERVICE = 'org.gajim.dbus'
|
SERVICE = 'org.gajim.Gajim'
|
||||||
BASENAME = 'gajim-remote'
|
BASENAME = 'gajim-remote'
|
||||||
|
|
||||||
class GajimRemote:
|
class GajimRemote:
|
||||||
|
|
|
@ -2583,7 +2583,7 @@ class Interface:
|
||||||
if app.config.get('remote_control'):
|
if app.config.get('remote_control'):
|
||||||
try:
|
try:
|
||||||
from gajim import remote_control
|
from gajim import remote_control
|
||||||
self.remote_ctrl = remote_control.Remote()
|
remote_control.GajimRemote()
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
GLib.timeout_add_seconds(5, remote_init)
|
GLib.timeout_add_seconds(5, remote_init)
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue