summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-10-14 19:18:06 +0200
committermathieui <mathieui@mathieui.net>2012-10-14 19:20:46 +0200
commitde1f812809b2f800e095f347ca947cd3e963f942 (patch)
tree36e0f97e466819d4d8e553a7872e0fec73071c88 /src/core.py
parent442e24087a35edfc5a10116361bd0a560368f043 (diff)
downloadpoezio-de1f812809b2f800e095f347ca947cd3e963f942.tar.gz
poezio-de1f812809b2f800e095f347ca947cd3e963f942.tar.bz2
poezio-de1f812809b2f800e095f347ca947cd3e963f942.tar.xz
poezio-de1f812809b2f800e095f347ca947cd3e963f942.zip
Add decorators to handle refreshs more easily
(and fix one more issue with the refresh in the roster)
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index 2825aae4..c27412a2 100644
--- a/src/core.py
+++ b/src/core.py
@@ -34,6 +34,7 @@ log = logging.getLogger(__name__)
import multiuserchat as muc
import tabs
+import decorators
import xhtml
import events
import pubsub
@@ -115,6 +116,7 @@ class Core(object):
self.xmpp = singleton.Singleton(connection.Connection)
self.xmpp.core = self
roster.set_node(self.xmpp.client_roster)
+ decorators.refresh_wrapper.core = self
self.paused = False
self.debug = False
self.remote_fifo = None