From 73338a903877e5b77b3afbb273502e3db42df05e Mon Sep 17 00:00:00 2001 From: Sebastian Heinlein Date: Fri, 17 Mar 2006 14:53:03 +0100 Subject: * Use the the number of available and not selected updates to determinate if the system is up-to-date - fixes #35300 --- UpdateManager/UpdateManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'UpdateManager') diff --git a/UpdateManager/UpdateManager.py b/UpdateManager/UpdateManager.py index 07634d87..6a52a296 100644 --- a/UpdateManager/UpdateManager.py +++ b/UpdateManager/UpdateManager.py @@ -405,7 +405,7 @@ class UpdateManager(SimpleGladeApp): self.update_count() def update_count(self): - if len(self.packages) == 0: + if self.list.num_updates == 0: text_header= ""+_("Your system is up-to-date")+"" text_download = "" self.expander_details.set_sensitive(False) -- cgit v1.2.3