From 9586edafabd1fc5ad2672aee5cdbeab17d6177d9 Mon Sep 17 00:00:00 2001 From: Ali Mirjamali Date: Thu, 28 Nov 2024 11:20:34 +0330 Subject: [PATCH] Honor `NoDisplay=true` fixes: https://github.com/QubesOS/qubes-issues/issues/9611 --- qubes_menu/desktop_file_manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qubes_menu/desktop_file_manager.py b/qubes_menu/desktop_file_manager.py index f11a6d7..6f03161 100644 --- a/qubes_menu/desktop_file_manager.py +++ b/qubes_menu/desktop_file_manager.py @@ -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):