kramo
9e7dc12a99
Cleanups
2023-04-19 19:50:11 +02:00
kramo
96a16c1adb
Cleanups
2023-04-18 21:11:38 +02:00
kramo
bc9192e83b
Cleanups
2023-04-18 19:07:49 +02:00
kramo
f8bb111939
Cleanups
2023-04-18 02:31:44 +02:00
kramo
e3411b8e7e
Fix move when deleting all games
2023-04-15 21:50:19 +02:00
kramo
6b2678c5f6
Use new functions in preferences
2023-04-14 16:10:40 +02:00
kramo
6edd85e80a
Cleanups
2023-04-14 14:44:44 +02:00
kramo
fd66d07ac3
Cleanups
2023-04-11 23:31:16 +02:00
kramo
a08ed1d4c2
Cleanups
2023-04-11 20:57:11 +02:00
kramo
984249c05b
Remove animated covers properly
2023-04-11 19:03:16 +02:00
kramo
0da5f94ea3
SteamGridDB animated covers
2023-04-11 15:42:07 +02:00
kramo
5b08cea6de
Delete animated covers properly
2023-04-11 15:00:18 +02:00
kramo
0f6a989142
Reimplement animated covers with Pillow
2023-04-11 14:49:18 +02:00
kramo
c1715aa328
Reimplement pixbuf caching
2023-04-10 20:54:24 +02:00
kramo
4a1f9d3f86
Fix capitalization
2023-04-05 10:55:08 +02:00
kramo
725e4027f2
Add option to import Steam games from Lutris
2023-04-05 10:13:22 +02:00
kramo
ee0c07befc
SteamGridDB cleanups
2023-04-05 00:08:30 +02:00
kramo
45be2eb165
Basic SteamGridDB support
2023-04-04 17:35:36 +02:00
kramo
f18894bf10
Add itch import
2023-04-03 18:17:53 +02:00
kramo
7e968a9ac7
Pathlib fixes
2023-04-02 08:06:09 +02:00
kramo
3bcbf8457c
Refactor to use pathlib
2023-04-01 11:33:48 +02:00
kramo
3e568be6d8
Fix fstrings in translations
2023-03-31 15:44:59 +02:00
Bananaman
77b083e219
A few minor code cleanups and fixes ( #47 )
...
* Avoid exception if trying to delete missing "removed" key
`.pop(key)` throws an exception if that `key` is missing. Using a default value (in this case None) means we don't throw any errors when deleting a missing key. Which is what we want here, for safety. We just want to delete the key. We don't care if it's existing or not.
There are other places in the codebase that also use `.pop(key)`, but all of those first check the validity of the key before popping, so this was the only one that needed fixing.
* Improve performance by removing keys() calls
Every `.keys()` call create a new `[list...]` of all keys from the given dictionary. It's a total waste of performance, since we can already check if a key exists in a dictionary by just using `if "key" in the_dict`.
* Use more pythonic "not in" syntax
The syntax is supposed to be `if "thing" not in other_thing`. We already use this proper `not in` syntax everywhere else in the codebase. Just fixing this location.
2023-03-31 15:24:02 +02:00
kramo
780fd0a09f
Added Lutris import
2023-03-31 15:22:45 +02:00
kramo
61ef02cc7a
Add option to remove all games
2023-03-30 16:22:58 +02:00
kramo
dad4905753
Cleanups
2023-03-29 23:02:10 +02:00
kramo
4d99f80ff7
Create ImportPreferences class for future use
2023-03-29 19:27:06 +02:00
kramo
0a943d4259
Add warnings for non-existent launcher directories
2023-03-29 16:20:08 +02:00
kramo
17a6a53fd2
Use Adw.ExpanderRows for import sources
2023-03-29 07:59:02 +02:00
kramo
c1abed8af6
UX improvements
2023-03-29 00:55:18 +02:00
kramo
643ca368a6
Unify games import
2023-03-29 00:23:23 +02:00
kramo
228db1b2f0
Add option to launch games by clicking cover
2023-03-26 11:04:40 +02:00
kramo
a1bf94904c
Add option to save game covers losslessly
2023-03-25 19:53:41 +01:00
kramo
b281a4bd0d
Cleanups
2023-03-22 08:36:37 +01:00
kramo
86dae1f972
Add support for multiple Steam library directories
2023-03-21 15:40:21 +01:00
kramo
c5b263c71e
Prepare for Windows builds
2023-03-19 01:07:11 +01:00
kramo
bd0cf7402a
Code style
2023-03-15 01:57:43 +01:00
kramo
f416155c2d
Update code style
2023-03-14 23:05:47 +01:00
kramo
32d9f9a880
Cleanups
2023-03-14 21:20:59 +01:00
kramo
8d1e98c277
Bottles import
2023-02-02 18:52:06 +01:00
kramo
a9a5a1d3c2
Rename to Cartridges
2023-02-01 16:34:26 +01:00
kramo
3d2c26937d
Gtk.FileDialog syntax
2023-01-29 14:46:57 +01:00
kramo
99e6cbf169
Support for Heroic import
2023-01-29 14:27:27 +01:00
kra-mo
731ed439d5
Update GTK code style
2023-01-14 23:47:27 +01:00
kra-mo
f5c1012628
Add project files
2022-12-26 14:38:37 +01:00