[kupfer] listen: Implement Unregister() to unregister dbus
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] listen: Implement Unregister() to unregister dbus
- Date: Sun, 23 Aug 2009 11:27:05 +0000 (UTC)
commit f45fcb0b8566f1c787b285ba9128c5844a26461a
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Sat Aug 22 21:37:44 2009 +0200
listen: Implement Unregister() to unregister dbus
kupfer/listen.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/listen.py b/kupfer/listen.py
index 0df14e9..290a1f8 100644
--- a/kupfer/listen.py
+++ b/kupfer/listen.py
@@ -72,3 +72,6 @@ def Service():
return _Service_obj
+def Unregister():
+ if session_bus:
+ session_bus.release_name(server_name)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]