diff options
author | Jimmy <jimmy@spalge.com> | 2022-04-04 17:35:04 +1200 |
---|---|---|
committer | Jimmy <jimmy@spalge.com> | 2022-04-04 18:03:54 +1200 |
commit | e9ed6456fd38abe6d9269bb4f3842c95dc11dfba (patch) | |
tree | 660eb986a3dc2a7edd30329143de56c92eafcbad /MANIFEST.in | |
parent | d0c1d1ff94d24376efc3c08c0bb85e0da48cbcbf (diff) | |
download | qutebrowser-e9ed6456fd38abe6d9269bb4f3842c95dc11dfba.tar.gz qutebrowser-e9ed6456fd38abe6d9269bb4f3842c95dc11dfba.zip |
Load icons via importlib.resources
The PyQt resources system is gone in 6.2 and deprecated before that. This
should be the last usage of it.
Switches icons to be read with `utils.resources.read_file_binary()` in
`notification.py` (fallback desktop notification icon) and `app.py` (icon for
the desktop window).
importlib only loads resources under a package, so the icons are moved under
the `qutebrowser/` directory.
Closes: #6062
Diffstat (limited to 'MANIFEST.in')
-rw-r--r-- | MANIFEST.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MANIFEST.in b/MANIFEST.in index ed4b5e5b1..81bf824b7 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,7 +4,7 @@ recursive-include qutebrowser/javascript *.js graft tests graft qutebrowser/html graft qutebrowser/3rdparty -graft icons +graft qutebrowser/icons graft doc/img graft misc/apparmor graft misc/userscripts |