[kupfer] ui.listen: Fix accidental removal of Present() d-bus method



commit d805c6fe10b84d2430dccb72df8a3d71269be998
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Fri Mar 25 17:00:47 2011 +0100

    ui.listen: Fix accidental removal of Present() d-bus method
    
    A spurious @classmethod got into the method definition and that
    removed the Present method.

 kupfer/ui/listen.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/ui/listen.py b/kupfer/ui/listen.py
index 86e6873..ab2f3bb 100644
--- a/kupfer/ui/listen.py
+++ b/kupfer/ui/listen.py
@@ -49,7 +49,6 @@ class Service (ExportedGObject):
 		if session_bus:
 			session_bus.release_name(server_name)
 
-	@classmethod
 	@dbus.service.method(interface_name)
 	def Present(self):
 		self.emit("present")



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]