feat(workspaces): support for using images in name_map

This commit is contained in:
Jake Stanger
2023-01-29 22:48:42 +00:00
parent 3cf9be89fd
commit b054c17d14
13 changed files with 132 additions and 64 deletions

View File

@@ -156,7 +156,7 @@ impl ItemButton {
if show_icons {
let gtk_image = gtk::Image::new();
let image = ImageProvider::parse(item.app_id.clone(), icon_theme, 32);
let image = ImageProvider::parse(&item.app_id.clone(), icon_theme, 32);
match image {
Ok(image) => {
button.set_image(Some(&gtk_image));