'warning: key "Encoding" in group "Desktop Entry" is deprecated'
)
-_NotShowIn_exemptions = (
+_ShowIn_exemptions = (
# See bug #480586.
'contains an unregistered value "Pantheon"',
)
# "hint:" output is new in desktop-file-utils-0.21
if msg.startswith('hint: ') or msg in _ignored_errors:
continue
- if 'for key "NotShowIn" in group "Desktop Entry"' in msg:
+ if 'for key "NotShowIn" in group "Desktop Entry"' in msg or \
+ 'for key "OnlyShowIn" in group "Desktop Entry"':
exempt = False
- for s in _NotShowIn_exemptions:
+ for s in _ShowIn_exemptions:
if s in msg:
exempt = True
break