Commit graph

2 commits

Author SHA1 Message Date
Felipe Borges
5d6447b0b9 default-apps: Workaround AdwComboRow item selection at startup
Our callback handler for the AdwComboRow::selected-item property
changes gets called at startup, resulting in a slow and unnecessary
default app change.

This is a workaround to avoid calling g_app_info_set_as_default_for_type
without user input.

This is a backport of commit 6fb324634a

Fixes #2626
Fixes #2683
2023-10-27 17:06:33 +02:00
Christopher Davis
bd069bee92 default-apps: Use new adwaita widgetry, drop deprecated API
GTK has deprecated the AppChooser interface and related widgets.
These APIs will be gone in GTK5, so we should move away from
them as soon as possible.

This MR takes the opportunity to change the design to match newer
mockups while dropping deprecated APIs.
2023-06-06 03:32:59 +00:00