mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 05:31:07 +00:00
appchooserwidget: check for g_app_info_should_show()
This ensures NoDisplay=true or NotShowIn/OnlyShowIn values in the desktop file are respected.
This commit is contained in:
parent
9208588771
commit
84922d3317
@ -536,6 +536,9 @@ gtk_app_chooser_widget_add_section (GtkAppChooserWidget *self,
|
||||
!g_app_info_supports_files (app))
|
||||
continue;
|
||||
|
||||
if (!g_app_info_should_show (app))
|
||||
continue;
|
||||
|
||||
if (g_list_find_custom (exclude_apps, app,
|
||||
(GCompareFunc) compare_apps_func))
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user