We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cc091b commit 387097aCopy full SHA for 387097a
plugins/AppsPlugin/Plugin.vala
@@ -291,9 +291,13 @@ public class AppsProvider : SearchProvider {
291
292
if (icon_file.query_exists ()) {
293
icon = new FileIcon (icon_file);
294
+ } else {
295
+ icon = new ThemedIcon ("application-default-icon");
296
}
- } else {
297
+ } else if (Gtk.IconTheme.get_for_display (Gdk.Display.get_default ()).has_icon (icon_name)) {
298
icon = new ThemedIcon (icon_name);
299
300
301
302
} catch (Error e) {
303
debug ("Failed to get icon: %s", e.message);
0 commit comments