Commit 76b3441b authored by Erik Reider's avatar Erik Reider

Fixed notifications not checking if app-icon is a icon-name. Fixes: #356

parent ff04ca39
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment