[sulfur] do not show orphans message if resources are locked

This commit is contained in:
Fabio Erculiani
2010-02-15 22:59:31 +01:00
parent 44f4359ad9
commit 06d73fc66e
+1 -1
View File
@@ -1757,7 +1757,7 @@ class SulfurApplication(Controller, SulfurApplicationEventsMixin):
self.ui.pkgSorter.set_property('sensitive', True)
orphans = None
if not self._orphans_message_shown:
if (not self._orphans_message_shown) and (not self._RESOURCES_LOCKED):
if action == "updates" and \
(not self.etpbase.get_raw_groups('updates')):