Commit Graph

33 Commits

Author SHA1 Message Date
kramo
89080c03bc Handle bogus sources gracefully 2025-04-28 20:09:11 +02:00
kramo
597c668d69 Fix #336 2025-02-15 20:19:13 +01:00
kramo
77d7572ad1 Use correct sys.platform convention 2025-01-28 13:53:28 +01:00
Claire (qwery)
8199a817eb Fix: Import never finishes (#301)
* Add separate callback to update progressbar

* Black formatting

* Make watchdog useful

The app was still not thread safe because the dialog was
closed from a thread which was the likely cause of the
crashing.

Still needs more testing to validate this solution

* Prevent opening preferences while importing

* Formatting changes & regrouping of methods

- Rearranged methods into groups based on public or private and their
usage. No functional changes, just reorganizing for convenience.

 - Renamed import_callback -> finish_import.
 - Renamed __watchdog -> monitor_import

If you don't like it, this can be reverted.

* Black formatting

* Cleanup for review

* Fix attempt 2 & remove public/private comments

Readded watchdog in its original form.

Removed comments for public or private methods. Comments for import
actions/gui are still there
2024-11-28 13:31:27 +01:00
Sunniva Løvstad
8a020970fd Add ngettext to the domain (#310)
* Update PO: add relative timestamps

* make ngettext enter the domain

This was a tricky one to solve…
2024-11-05 18:55:22 +01:00
skilpedde
2d0576f201 Update PO: add relative timestamps 2024-11-02 23:04:18 +01:00
skilpedde
86887367a3 Merge branch 'main' of https://github.com/kra-mo/cartridges into kra-mo-main 2024-10-31 17:37:56 +01:00
kramo
4ee3fe2473 Add an option to import games automatically (#302) 2024-10-31 14:12:33 +01:00
skilpedde
498f99e771 Update to dgettext and fix translator-credits string 2024-10-22 13:03:25 +02:00
kramo
823641d909 Make Heroic and itch sources available on macOS 2024-07-10 15:12:47 +02:00
kramo
63a797ce33 Add Steam darwin library location 2024-06-29 09:37:55 +02:00
kramo
8640e37252 Add Steam darwin logic 2024-06-29 03:14:07 +02:00
kramo
ac57f1d0b6 Update hidden games detection for Lutris
Fixes  #251
2024-04-16 19:21:26 +02:00
kramo
05c6851d40 Stupid hack because stupid libadwaita is stupid 2024-04-16 17:47:23 +02:00
kramo
a0fe463f03 Change app ID to page.kramo.Cartridges (#247)
* Change app id to page.kramo.Cartridges

* Update metainfo formatting, add replaces tag
2024-04-07 21:04:44 +02:00
kramo
8a7875b843 Update copyrights 2024-03-23 20:45:23 +01:00
kramo
aec8a4efa7 Fix #238 2024-03-23 20:28:36 +01:00
kramo
4a5ebb3221 Merge branch 'main' into libadwaita-1.5 2024-03-20 14:47:29 +01:00
kramo
8efce829ca Update Lutris cover art location - Fixes #233 2024-02-17 14:26:01 +01:00
kramo
6155ace0ec Add default argument to UnresolvableLocationError 2024-02-17 14:07:15 +01:00
kramo
35d85a607f Port to adaptive dialogs 2024-02-17 09:58:03 +01:00
kramo
3e1ef88a1f Port to libadwaita 1.5 widgets 2024-01-27 08:52:50 +01:00
kramo
f741b9f100 Fix arguments passed via idle_add 2024-01-24 15:46:20 +01:00
kramo
7c9d9a317b Potentially fix crash during import 2024-01-22 11:50:22 +01:00
kramo
0482167237 Mark Flatpak system data dir as optional 2023-12-31 11:16:52 +01:00
kramo
ec69361826 Add optional property for locations 2023-12-20 17:33:49 +01:00
kramo
f8bc23991a Fix me being stupid on my phone 2023-12-20 15:31:43 +01:00
kramo
29da7feba9 Fix syntax error in Flatpak importer 2023-12-20 14:22:38 +01:00
kramo
93049f3908 (Potentially) fix Flatpak source 2023-12-20 09:40:10 +01:00
kramo
5ab3085083 Use HOST_ prefixed env vars for host XDG base dirs 2023-12-17 11:46:54 +01:00
kramo
7d0b9854d3 Use the correct type for GErrors 2023-12-17 00:25:01 +01:00
kramo
f7a3e01cee Separate user and system data dirs for Flatpak 2023-12-12 10:18:33 +01:00
kramo
69928a8b4f Implement search provider (#201)
* Begin work on search provider

* Initial search provider work, organize meson

* Initial work on icons

* Implement LaunchSearch

* Don't hold arbitrary reference to service

I don't know why Lollypop does this

* Send notification, pad images

* Update translations

* Fix init_search_term typing
2023-10-10 22:47:32 +02:00