Port remote control to GDBus

This commit is contained in:
André Apitzsch 2018-02-02 17:56:55 +01:00 committed by Philipp Hörist
parent 923ce01c47
commit 7447f33c5e
3 changed files with 384 additions and 284 deletions

View File

@ -60,7 +60,7 @@ except Exception:
OBJ_PATH = '/org/gajim/dbus/RemoteObject'
INTERFACE = 'org.gajim.dbus.RemoteInterface'
SERVICE = 'org.gajim.dbus'
SERVICE = 'org.gajim.Gajim'
BASENAME = 'gajim-remote'
class GajimRemote:

View File

@ -2583,7 +2583,7 @@ class Interface:
if app.config.get('remote_control'):
try:
from gajim import remote_control
self.remote_ctrl = remote_control.Remote()
remote_control.GajimRemote()
except Exception:
pass
GLib.timeout_add_seconds(5, remote_init)

File diff suppressed because it is too large Load Diff