Commit c955d3a1 authored by Richard Hughes's avatar Richard Hughes
Browse files

Never show a 'missing' icon when AppStream does not provide an app icon

Although this belies a metadata generation bug, fall back to showing the
generic application icon rather than having a 'hole' in the UI where the icon
would normally be.
parent 56ee7fe4
......@@ -390,9 +390,14 @@ gs_app_row_refresh (GsAppRow *app_row)
/* pixbuf */
if (gs_app_get_pixbuf (priv->app) != NULL)
if (gs_app_get_pixbuf (priv->app) == NULL) {
gtk_image_set_from_icon_name (GTK_IMAGE (priv->image),
} else {
gs_image_set_from_pixbuf (GTK_IMAGE (priv->image),
gs_app_get_pixbuf (priv->app));
context = gtk_widget_get_style_context (priv->image);
if (missing_search_result)
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