fix(desktop-entries): Stop NoDisplay items from being shown
This commit is contained in:
parent
44f1cf3b4e
commit
5b15e92bcb
1 changed files with 2 additions and 2 deletions
|
|
@ -107,9 +107,9 @@ impl<W: AsyncWrite + Unpin> App<W> {
|
|||
.split(';')
|
||||
.any(|desktop| current.iter().any(|c| *c == desktop))
|
||||
})
|
||||
.unwrap_or(false);
|
||||
.unwrap_or(true);
|
||||
|
||||
if matched {
|
||||
if matched || entry.name(None).map_or(false, |v| v == "GNOME Shell") {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue