Commit 5568dcb5 authored by Cosimo Cecchi's avatar Cosimo Cecchi

appchooserbutton: filter out applications not supposed to be visible

Ensure NoDisplay=true applications don't end up in the list populated by
GtkAppChooserButton.

https://bugzilla.gnome.org/show_bug.cgi?id=696405
parent 70cfac0e
......@@ -348,6 +348,9 @@ gtk_app_chooser_button_populate (GtkAppChooserButton *self)
{
app = l->data;
if (!g_app_info_should_show (app))
continue;
if (default_app != NULL && g_app_info_equal (app, default_app))
continue;
......
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