Fixed notifications not checking if app-icon is a icon-name. Fixes: #356
This commit is contained in:
@@ -39,6 +39,11 @@ namespace SwayNotificationCenter {
|
|||||||
stderr.printf (e.message + "\n");
|
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,
|
public static void set_image_data (ImageData data,
|
||||||
|
Reference in New Issue
Block a user