[entropy] when subclassing Entropy Client interface, properly set singleton class
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user