Flatpak: trash old user data and settings rather than deleting instantly

Instant deletion is dangerous here as we provide a big obvious button to do it. The button uses correct iconography and text to indicate that this is what it will do, but it's still destructive with no undo, and users clicking accidentally could use data.

Instead, send the data and settings to the trash, where it could be retrieved later.

ENHANCEMENT: 520220
FIXED-IN: 6.8.0

Test plan:

  1. Install Blanket
  2. Launch Blanket
  3. Click on some things to start playing sounds
  4. Quit Blanket
  5. Uninstall Blanket from Discover
  6. When prompted, click the "Send to Trash" button
  7. Open the trash and see something named com.rafaelmardojai.Blanket in there

Merge request reports

Loading
Loading