[entropy] when subclassing Entropy Client interface, properly set singleton class

This commit is contained in:
Fabio Erculiani
2010-01-25 02:09:54 +01:00
parent 2720f83c8e
commit 0453fd8bcd
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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):