mirror of
https://github.com/ErikReider/SwayNotificationCenter.git
synced 2024-09-11 15:56:04 +03:00
Fixed notifications not checking if app-icon is a icon-name. Fixes: #356
This commit is contained in:
parent
ff04ca3924
commit
76b3441bb3
@ -39,6 +39,11 @@ namespace SwayNotificationCenter {
|
||||
stderr.printf (e.message + "\n");
|
||||
}
|
||||
}
|
||||
|
||||
// Try as icon name
|
||||
if (img.storage_type == Gtk.ImageType.EMPTY) {
|
||||
img.set_from_icon_name (uri, Gtk.IconSize.INVALID);
|
||||
}
|
||||
}
|
||||
|
||||
public static void set_image_data (ImageData data,
|
||||
|
Loading…
Reference in New Issue
Block a user