diff options
Diffstat (limited to 'purk/core.py')
-rw-r--r-- | purk/core.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/purk/core.py b/purk/core.py index 57af19a..4c1216b 100644 --- a/purk/core.py +++ b/purk/core.py @@ -45,12 +45,13 @@ class Trigger(object): return self._mods class Core(object): - def __init__(self): + def __init__(self,client): self.window = None self.trigger = Trigger() self.events = self.trigger.events self.manager = widgets.UrkUITabs(self) self.channels = [] + self.client = client mods = self.trigger.get_modules() @@ -76,8 +77,9 @@ class Core(object): return class Client(object): - def __init__(self): - self.core = Core() + def __init__(self,activity): + self.activity = activity + self.core = Core(self) self.widget = self.core.manager self.widget.show_all() |