fix: update freedesktop-desktop-entry
This commit is contained in:
parent
58a8f2db64
commit
8d9da92dba
8 changed files with 833 additions and 610 deletions
|
|
@ -124,7 +124,7 @@ fn detect_terminal() -> (PathBuf, &'static str) {
|
|||
freedesktop_desktop_entry::Iter::new(freedesktop_desktop_entry::default_paths())
|
||||
.filter_map(|path| {
|
||||
std::fs::read_to_string(&path).ok().and_then(|input| {
|
||||
DesktopEntry::from_str(&path, &input, &get_languages_from_env())
|
||||
DesktopEntry::from_str(&path, &input, Some(&get_languages_from_env()))
|
||||
.ok()
|
||||
.and_then(|de| {
|
||||
if de.no_display()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue