diff --git a/qubesmanager/table_widgets.py b/qubesmanager/table_widgets.py index a5d4a970..4d508bdd 100644 --- a/qubesmanager/table_widgets.py +++ b/qubesmanager/table_widgets.py @@ -393,8 +393,9 @@ def __init__(self, vm, show_text=True, parent=None): def update_outdated(self): outdated_state = False + is_disposable = getattr(self.vm, 'auto_cleanup', False) - if self.vm.is_running(): + if not is_disposable and self.vm.is_running(): if hasattr(self.vm, 'template') and self.vm.template.is_running(): outdated_state = "to-be-outdated" @@ -404,7 +405,8 @@ def update_outdated(self): outdated_state = "outdated" break - if self.vm.klass in {'TemplateVM', 'StandaloneVM'} and \ + if not is_disposable and \ + self.vm.klass in {'TemplateVM', 'StandaloneVM'} and \ self.vm.features.get('updates-available', False): outdated_state = 'update'