diff --git a/docs/changelog.md b/docs/changelog.md
index b43edb2..d56ec02 100644
--- a/docs/changelog.md
+++ b/docs/changelog.md
@@ -5,6 +5,14 @@ SPDX-License-Identifier: CC-BY-4.0
# Changelog of the Burn-My-Windows Extension
+## [Burn My Windows 39](https://github.com/schneegans/Burn-My-Windows/releases/tag/v39)
+
+**Release Date:** TBD
+
+#### Enhancements
+
+- Instead of an always out-of-date list of sponsors, the main menu of the preferences dialog now contains a link to the new [list of all donors](https://schneegans.github.io/sponsors/). This list is semi-automatically updated whenever a new donation is received. Thanks to all the donors!
+
## [Burn My Windows 38](https://github.com/schneegans/Burn-My-Windows/releases/tag/v38)
**Release Date:** 2023-09-09
diff --git a/prefs.js b/prefs.js
index cba7d03..84a6430 100644
--- a/prefs.js
+++ b/prefs.js
@@ -433,6 +433,7 @@ GitHub: https://github.com/spon
addURIAction('donate-kofi', 'https://ko-fi.com/schneegans');
addURIAction('donate-github', 'https://github.com/sponsors/Schneegans');
addURIAction('donate-paypal', 'https://www.paypal.me/simonschneegans');
+ addURIAction('show-sponsors', 'https://schneegans.github.io/sponsors');
addURIAction('wallpapers', 'https://github.com/Schneegans/ai-wallpapers');
addURIAction('profile-dir', `file://${GLib.get_user_config_dir()}/burn-my-windows/profiles`);
// clang-format on
@@ -464,41 +465,14 @@ GitHub: https://github.com/spon
}
});
- const sponsors = this._getJSONResource('/credits/sponsors.json');
- let dialog;
-
- let formatSponsors = (sponsors) => {
- return sponsors.map(s => {
- if (s.url == '')
- return s.name;
- else
- return `${s.name} ${s.url}`;
- });
- };
-
- dialog = new Adw.AboutWindow({transient_for: window, modal: true});
+ const dialog = new Adw.AboutWindow({transient_for: window, modal: true});
dialog.set_application_icon('burn-my-windows-symbolic');
dialog.set_application_name('Burn-My-Windows');
dialog.set_version(`${this.metadata.version}`);
dialog.set_developer_name('Simon Schneegans');
dialog.set_issue_url('https://github.com/Schneegans/Burn-My-Windows/issues');
- if (sponsors.gold.length > 0) {
- dialog.add_credit_section(_('Gold Sponsors'), formatSponsors(sponsors.gold));
- }
- if (sponsors.silver.length > 0) {
- dialog.add_credit_section(_('Silver Sponsors'),
- formatSponsors(sponsors.silver));
- }
- if (sponsors.bronze.length > 0) {
- dialog.add_credit_section(_('Bronze Sponsors'),
- formatSponsors(sponsors.bronze));
- }
- if (sponsors.past.length > 0) {
- dialog.add_credit_section(_('Past Sponsors'), formatSponsors(sponsors.past));
- }
-
dialog.set_translator_credits([...translators].join('\n'));
- dialog.set_copyright('© 2022 Simon Schneegans');
+ dialog.set_copyright('© 2023 Simon Schneegans');
dialog.set_website('https://github.com/Schneegans/Burn-My-Windows');
dialog.set_license_type(Gtk.License.GPL_3_0);
diff --git a/resources/credits/sponsors.json b/resources/credits/sponsors.json
deleted file mode 100644
index d405744..0000000
--- a/resources/credits/sponsors.json
+++ /dev/null
@@ -1,86 +0,0 @@
-{
- "gold": [
- {
- "name": "D3vil0p3r",
- "url": "https://github.com/D3vil0p3r"
- },
- {
- "name": "Maxence Sebald",
- "url": ""
- }
- ],
- "silver": [
- {
- "name": "@danielheadbang",
- "url": "https://github.com/danielheadbang"
- },
- {
- "name": "Jorge Castro",
- "url": "https://github.com/castrojo"
- }
- ],
- "bronze": [
- {
- "name": "@SubOptimal",
- "url": "https://github.com/SubOptimal"
- },
- {
- "name": "@vlazic",
- "url": "https://github.com/vlazic"
- }
- ],
- "past": [
- {
- "name": "Dennis ten Hoove",
- "url": "https://github.com/dennis1248"
- },
- {
- "name": "@MRR-dev",
- "url": "https://github.com/MRR-dev"
- },
- {
- "name": "Angel Brielez",
- "url": "https://github.com/AngelBrielez"
- },
- {
- "name": "@taconomix",
- "url": "https://github.com/taconomix"
- },
- {
- "name": "@enolive",
- "url": "https://github.com/enolive"
- },
- {
- "name": "@Aggraxis",
- "url": "https://github.com/Aggraxis"
- },
- {
- "name": "tj3k",
- "url": "https://twitter.com/tjiiik"
- },
- {
- "name": "@wolfyrion",
- "url": "https://github.com/wolfyrion"
- },
- {
- "name": "@MrTomRod",
- "url": "https://github.com/MrTomRod"
- },
- {
- "name": "Pouhiou",
- "url": ""
- },
- {
- "name": "DAPREMONT Christophe",
- "url": ""
- },
- {
- "name": "@manero6",
- "url": "https://github.com/manero6"
- },
- {
- "name": "@RickStanley",
- "url": "https://github.com/RickStanley"
- }
- ]
-}
\ No newline at end of file
diff --git a/resources/ui/common/menus.ui b/resources/ui/common/menus.ui
index 41a848c..039e4c1 100644
--- a/resources/ui/common/menus.ui
+++ b/resources/ui/common/menus.ui
@@ -21,20 +21,12 @@ SPDX-License-Identifier: GPL-3.0-or-later
View Matching Wallpapers
prefs.wallpapers
+ -
+ View Donors Hall-of-Fame
+ prefs.show-sponsors
+
- -
- Report a Bug
- prefs.bugs
-
- -
- Create an Effect
- prefs.new-effect
-
- -
- Translate
- prefs.translate
-
Donate
-
@@ -50,6 +42,18 @@ SPDX-License-Identifier: GPL-3.0-or-later
prefs.donate-paypal
+ -
+ Report a Bug
+ prefs.bugs
+
+ -
+ Create an Effect
+ prefs.new-effect
+
+ -
+ Translate
+ prefs.translate
+