Commit Graph

83 Commits

Author SHA1 Message Date
kramo
e9ef3b2d32 Use opacity, not visibility for hiding widgets 2023-05-15 20:23:28 +02:00
kramo
c113ebb750 Navigation improvements - closes #80 2023-05-13 21:49:37 +02:00
kramo
aaed2ee8f2 Adjust blurred cover art opacity 2023-05-08 10:09:00 +02:00
kramo
e1296444e5 Cleanups 2023-05-07 17:38:31 +02:00
kramo
491bc4919c Blur game covers properly 2023-05-05 16:59:56 +02:00
kramo
fc67ba471a Fix typo in gschema 2023-04-26 20:03:04 +02:00
kramo
2b2b7e0c75 Cleanups 2023-04-19 22:26:54 +02:00
kramo
b92e316729 Update create_details_window to use Game class 2023-04-19 21:54:25 +02:00
kramo
259891fdc5 Cleanups 2023-04-19 21:14:00 +02:00
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
741245b415 Cleanups 2023-04-17 22:32:28 +02:00
kramo
bc0d33f966 More reliance on GLib 2023-04-17 19:20:29 +02:00
kramo
7eb7248b4c Better display of dates 2023-04-16 13:42:18 +02:00
kramo
4b11a2737a Cleanups 2023-04-16 12:52:06 +02:00
kramo
aea8a6ed5f Cleanups 2023-04-16 11:04:00 +02:00
kramo
43ec0e1a1f Fix hiding game toast bug 2023-04-15 22:02:04 +02:00
kramo
3da6674dbb UI improvements 2023-04-14 14:27:48 +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
1d630722de Save all covers in a shared directory 2023-04-11 18:31:46 +02:00
kramo
2303c2e6da Adaptive cover resolution for still images 2023-04-11 17:44:39 +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
3c6639ae07 Create GameCover class 2023-04-11 12:33:42 +02:00
kramo
3e495283b0 Revert animation support due to performance issues 2023-04-11 00:58:42 +02:00
kramo
8ec2998077 Fix animated covers in the overview 2023-04-11 00:01:05 +02:00
kramo
62aff0e7cc Basic animated cover support 2023-04-10 23:24:48 +02:00
kramo
c1715aa328 Reimplement pixbuf caching 2023-04-10 20:54:24 +02:00
kramo
d136897c8c Fix cover saving issue 2023-04-10 20:05:41 +02:00
kramo
0fb7c859d2 Cleanups 2023-04-10 16:34:03 +02:00
kramo
d93c6aa81d Details view improvements 2023-04-10 15:24:24 +02:00
kramo
5ea8d49f14 Remove debugging print 2023-04-08 09:33:05 +02:00
kramo
cccc4744ac More elegant formulas 2023-04-08 09:30:14 +02:00
kramo
b86f0f9217 Got some sleep 2023-04-08 09:11:38 +02:00
kramo
22182a838a Add tinting back for high contrast 2023-04-08 00:05:26 +02:00
kramo
a9e67595f7 Totally unnecessary algorithm 2023-04-07 23:54:42 +02:00
kramo
41f7ce3d5f Add spinner for loading game covers 2023-04-05 09:57:31 +02:00
kramo
00580571a6 Add option to delete game covers 2023-04-04 23:37:39 +02:00
kramo
cbe9bfbab8 SteamGridDB for manually added games 2023-04-04 19:12:36 +02:00
kramo
b1cb2d679a Make undoing the hide action more consistent 2023-04-03 10:56:56 +02:00
kramo
e373534e41 Add toast notifications for hiding/unhiding games 2023-04-03 10:36:58 +02:00
kramo
7e968a9ac7 Pathlib fixes 2023-04-02 08:06:09 +02:00
kramo
b511ce22b7 Cleanups 2023-04-02 07:20:05 +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
dad4905753 Cleanups 2023-03-29 23:02:10 +02:00