Skip to content

Commit

Permalink
Honor NoDisplay=true
Browse files Browse the repository at this point in the history
  • Loading branch information
alimirjamali committed Nov 28, 2024
1 parent 8c75256 commit 9586eda
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qubes_menu/desktop_file_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,8 @@ def _eligibility_check(self, entry: xdg.DesktopEntry.DesktopEntry):
based on current environment."""
if entry.getHidden():
return False
if entry.getNoDisplay():
return False
if entry.getOnlyShowIn():
if not set(entry.getOnlyShowIn()).intersection(
self.current_environments):
Expand Down

0 comments on commit 9586eda

Please sign in to comment.