Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/messenger.py
diff options
context:
space:
mode:
Diffstat (limited to 'messenger.py')
-rw-r--r--messenger.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/messenger.py b/messenger.py
index 6d8a035..a1aacda 100644
--- a/messenger.py
+++ b/messenger.py
@@ -21,12 +21,14 @@ import dbus
from dbus.gobject_service import ExportedGObject
import base64
+
SERVICE = "org.laptop.WebActivity"
IFACE = SERVICE
PATH = "/org/laptop/WebActivity"
_logger = logging.getLogger('messenger')
+
class Messenger(ExportedGObject):
def __init__(self, tube, is_initiator, model):
ExportedGObject.__init__(self, tube, PATH)
@@ -124,4 +126,3 @@ class Messenger(ExportedGObject):
thumb = base64.b64decode(buf)
self.model.add_link(url, title, thumb, owner, color, timestamp)
_logger.debug('Added link: %s to linkbar.'%(url))
-