1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-07-04 20:21:02 +02:00

fix(image): using fallback in places it shouldn't

This commit is contained in:
Jake Stanger 2023-07-26 21:49:45 +01:00
parent 1c68a97d33
commit 2367faab04
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
7 changed files with 27 additions and 15 deletions

View file

@ -191,7 +191,7 @@ impl ItemButton {
if appearance.show_icons {
let gtk_image = gtk::Image::new();
let image =
ImageProvider::parse(&item.app_id.clone(), icon_theme, appearance.icon_size);
ImageProvider::parse(&item.app_id.clone(), icon_theme, true, appearance.icon_size);
if let Some(image) = image {
button.set_image(Some(&gtk_image));
button.set_always_show_image(true);