Gtk.AppChooserButton shows duplicate lists
Version: PyGObject 3.38.0
Following these steps will create a Gtk.AppChooserButton with duplicate list items.
- create an AppChooserButton via a template
- set either
show-default-item
orshow-dialog-item
to True via the template
Here's an example of what it looks like:
If neither property is set or when you import the button with Gtk.Template.Child() and use the corresponding methods to set these properties to True, then the list will look as expected.