summaryrefslogtreecommitdiff
path: root/portato/plugins
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-03-19 17:19:22 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-03-19 17:19:22 +0100
commit1510350c45a0f175eacaa370d02aafba92979c50 (patch)
treeaac86cc6ae40f618aeb3bd639ddfa73a8cc6b586 /portato/plugins
parent0e97cc678cb9ec813460ca2e60a23595e753c2f8 (diff)
downloadportato-1510350c45a0f175eacaa370d02aafba92979c50.tar.gz
portato-1510350c45a0f175eacaa370d02aafba92979c50.tar.bz2
portato-1510350c45a0f175eacaa370d02aafba92979c50.zip
Init dbus threads using a plugin
Diffstat (limited to 'portato/plugins')
-rw-r--r--portato/plugins/dbus_init.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/portato/plugins/dbus_init.py b/portato/plugins/dbus_init.py
new file mode 100644
index 0000000..851562c
--- /dev/null
+++ b/portato/plugins/dbus_init.py
@@ -0,0 +1,4 @@
+from dbus.mainloop.glib import threads_init
+
+def dbus_init (*args):
+ threads_init()