summaryrefslogtreecommitdiff
path: root/UpdateManager
diff options
context:
space:
mode:
authorSebastian Heinlein <sebastian.heinlein@web.de>2006-03-17 14:53:03 +0100
committerSebastian Heinlein <sebastian.heinlein@web.de>2006-03-17 14:53:03 +0100
commit73338a903877e5b77b3afbb273502e3db42df05e (patch)
tree829f1ad32e7d9b6723168a239c319e28a86ba4c9 /UpdateManager
parent7a7dbeb2866322020c765df54d4764abc9849d50 (diff)
downloadpython-apt-73338a903877e5b77b3afbb273502e3db42df05e.tar.gz
* Use the the number of available and not selected updates to determinate
if the system is up-to-date - fixes #35300
Diffstat (limited to 'UpdateManager')
-rw-r--r--UpdateManager/UpdateManager.py2
1 files changed, 1 insertions, 1 deletions
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= "<big><b>"+_("Your system is up-to-date")+"</b></big>"
text_download = ""
self.expander_details.set_sensitive(False)