Commit 418459b6 authored by Philipp Hörist's avatar Philipp Hörist

DBus: Add some logging

parent 247ee813
......@@ -25,6 +25,7 @@
import os
import base64
import mimetypes
import logging
from gi.repository import GLib
from gi.repository import Gio
......@@ -36,6 +37,8 @@ from gajim.common import ged
from gajim.common.connection_handlers_events import MessageOutgoingEvent
from gajim.common.connection_handlers_events import GcMessageOutgoingEvent
log = logging.getLogger('gajim.remote_control')
def get_dbus_struct(obj):
"""
......@@ -405,6 +408,7 @@ class GajimRemote(Server):
self.raise_signal('VcardInfo', (obj.conn.name, obj.vcard_dict))
def raise_signal(self, event_name, data):
log.info('Send event %s', event_name)
self.con.emit_signal(None,
'/org/gajim/dbus/RemoteObject',
'org.gajim.dbus.RemoteInterface',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment