Commit 84922d33 authored by Cosimo Cecchi's avatar Cosimo Cecchi

appchooserwidget: check for g_app_info_should_show()

This ensures NoDisplay=true or NotShowIn/OnlyShowIn values in the
desktop file are respected.
parent 92085887
......@@ -536,6 +536,9 @@ gtk_app_chooser_widget_add_section (GtkAppChooserWidget *self,
!g_app_info_supports_files (app))
if (!g_app_info_should_show (app))
if (g_list_find_custom (exclude_apps, app,
(GCompareFunc) compare_apps_func))
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