introduce new wrapper to disqualify services

Authored by sitter on Dec 16 2016, 1:28 PM.

Description

introduce new wrapper to disqualify services

disqualify() checks whether the service ought to be disqualified (i.e.
not processed) and then marks it seen. this allows us to boilerplate
call disqualify(service) whenever iterating services to decide whether
the service in question should be skipped.
also means we don't have to call noDisplay once a service is disqualified

reviewed by kbroulik on irc

Details

Committed
sitterDec 16 2016, 1:28 PM
Parents
R120:b9ac84508645: do not explicitly check NotShownIn it's not necessary and incomplete
Branches
Unknown
Tags
Unknown