From 0453fd8bcde1b79535d98e370269ea185908b693 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Mon, 25 Jan 2010 02:09:54 +0100 Subject: [PATCH] [entropy] when subclassing Entropy Client interface, properly set singleton class --- magneto/src/magneto/core/interfaces.py | 1 + services/client-updates-daemon | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/magneto/src/magneto/core/interfaces.py b/magneto/src/magneto/core/interfaces.py index 8d978e78e..8f16a99df 100644 --- a/magneto/src/magneto/core/interfaces.py +++ b/magneto/src/magneto/core/interfaces.py @@ -431,3 +431,4 @@ class Entropy(Client): self.applet_last_message = message self.__magneto.show_alert(self.progress_tooltip_message_title, message) +Client.__singleton_class__ = Entropy diff --git a/services/client-updates-daemon b/services/client-updates-daemon index ad28425ed..b1949dfc0 100755 --- a/services/client-updates-daemon +++ b/services/client-updates-daemon @@ -119,7 +119,7 @@ class Entropy(Client): def output(self, *args, **kwargs): return write_output(*args, **kwargs) - +Client.__singleton_class__ = Entropy class UpdatesDaemon(dbus.service.Object):