Add use_pango option for Match (#15)

This commit is contained in:
Ivordir
2023-04-15 05:02:23 +00:00
committed by GitHub
parent ca8255c532
commit 1119137d27
8 changed files with 21 additions and 10 deletions

View File

@@ -73,8 +73,9 @@ pub fn get_matches(input: RString, entries: &mut Vec<(DesktopEntry, u64)>) -> RV
.into_iter()
.map(|(entry, id, _)| Match {
title: entry.name.into(),
icon: ROption::RSome(entry.icon.into()),
description: entry.desc.map(|desc| desc.into()).into(),
use_pango: false,
icon: ROption::RSome(entry.icon.into()),
id: ROption::RSome(id),
})
.collect()