diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
index 11114e6..186e60e 100644
--- a/.github/FUNDING.yml
+++ b/.github/FUNDING.yml
@@ -6,7 +6,7 @@
github: schneegans
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
-ko_fi: # Replace with a single Ko-fi username
+ko_fi: schneegans
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Schneegans
diff --git a/README.md b/README.md
index fa97eb4..08737e3 100644
--- a/README.md
+++ b/README.md
@@ -89,8 +89,8 @@ While [coding new features](docs/how-to-create-new-effects.md) or [translating t
🥇 Current Gold Sponsors
+ D3vil0p3r
Maxence Sebald
- Dennis ten Hoove
🥈 Current Silver Sponsors
@@ -101,13 +101,14 @@ While [coding new features](docs/how-to-create-new-effects.md) or [translating t
🥉 Current Bronze Sponsors
+ @SubOptimal
@vlazic
🏅 Previous Sponsors and One-Time Donators
- D3vil0p3r
+ Dennis ten Hoove
@MRR-dev
Angel Brielez
@taconomix
diff --git a/docs/changelog.md b/docs/changelog.md
index 45ac040..7baedb9 100644
--- a/docs/changelog.md
+++ b/docs/changelog.md
@@ -5,13 +5,22 @@ SPDX-License-Identifier: CC-BY-4.0
# Changelog of the Burn-My-Windows Extension
-## [Burn My Windows 27](https://github.com/schneegans/Burn-My-Windows/releases/tag/v28)
+## [Burn My Windows 28](https://github.com/schneegans/Burn-My-Windows/releases/tag/v28)
**Release Date:** TBD
+#### New Features
+
#### Other Enhancements
+* **New donation method: Ko-fi**. Follow me on Ko-fi to get the latest updates regarding my extensions: https://ko-fi.com/schneegans!
* All shaders are now compatible with OpenGL ES. Due to [this change](https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2672) the number of devices using OpenGL ES has significantly increased since GNOME 44. This change makes Burn-My-Windows working on those devices.
+* It is now possible to create effects which do not have any settings at all.
+
+#### Bug Fixes
+
+* The tutorial on how to create new effects has been updated and should work again.
+
## [Burn My Windows 27](https://github.com/schneegans/Burn-My-Windows/releases/tag/v27)
diff --git a/docs/how-to-create-new-effects.md b/docs/how-to-create-new-effects.md
index 36314f4..4c68a2e 100644
--- a/docs/how-to-create-new-effects.md
+++ b/docs/how-to-create-new-effects.md
@@ -49,7 +49,7 @@ You will have to ...
For enabling the new effect, the boolean settings keys `simple-fade-enable-effect` and `simple-fade-animation-time` are required.
In this example, we also add a floating point value for storing another property of the effect - we will use them later in the tutorial.
-Just copy the XML code below to the file [`schemas/org.gnome.shell.extensions.burn-my-windows.gschema.xml`](../schemas/org.gnome.shell.extensions.burn-my-windows.gschema.xml).
+Just copy the XML code below to the file [`schemas/org.gnome.shell.extensions.burn-my-windows-profile.gschema.xml`](../schemas/org.gnome.shell.extensions.burn-my-windows-profile.gschema.xml).
Just remember to replace `simple-fade` with your custom name!
```xml
@@ -86,6 +86,20 @@ Please study this code carefully, all of it is explained with inline comments.
Expand this to show the GLSL code.
```glsl
+//////////////////////////////////////////////////////////////////////////////////////////
+// ) ( //
+// ( /( ( ( ) ( ( ( ( )\ ) ( ( //
+// )\()) ))\ )( ( ( )\ ) )\))( )\ ( (()/( ( )\))( ( //
+// ((_)\ /((_|()\ )\ ) )\ '(()/( ((_)()((_) )\ ) ((_)))\((_)()\ )\ //
+// | |(_|_))( ((_)_(_/( _((_)) )(_)) _(()((_|_)_(_/( _| |((_)(()((_|(_) //
+// | '_ \ || | '_| ' \)) | ' \()| || | \ V V / | ' \)) _` / _ \ V V (_-< //
+// |_.__/\_,_|_| |_||_| |_|_|_| \_, | \_/\_/|_|_||_|\__,_\___/\_/\_//__/ //
+// |__/ //
+//////////////////////////////////////////////////////////////////////////////////////////
+
+// SPDX-FileCopyrightText: Your Name
+// SPDX-License-Identifier: GPL-3.0-or-later
+
// The content from common.glsl is automatically prepended to each shader effect. This
// provides the standard input:
@@ -214,7 +228,6 @@ var SimpleFade = class {
// binds all user interface elements to the respective settings keys of the profile.
bindPreferences(dialog) {
// Empty for now... Code is added here later in the tutorial!
- return null;
}
// ---------------------------------------------------------------- API for extension.js
@@ -265,7 +278,8 @@ There should be two sliders in this example: The animation duration and the widt
If your effect supports GNOME Shell 3.3x _and_ GNOME Shell 40+, you will have to provide three `*.ui` files for this.
This is because starting with GNOME Shell 40, the preference dialog uses GTK4, before it used to use GTK3.
Starting with GNOME Shell 42, it uses `libadwaita` which requires different UI files again.
-We will load the respective file in the `bindPreferences()` method of your new effect class.
+
+_:information_source: If you do not have the means to test your effect on different versions of GNOME, feel free to submit a pull request for one GNOME version only, I may then port your effect to other GNOME versions!_
Just save the code below to `resources/ui/gtk3/simple-fade.ui`, `resources/ui/gtk4/simple-fade.ui`, and `resources/ui/adw/simple-fade.ui` respectively.
Remember to replace any occurrence of `simple-fade` with your effect's nick-name!
@@ -281,7 +295,7 @@ SPDX-FileCopyrightText: Your Name
SPDX-License-Identifier: GPL-3.0-or-later
-->
-
+
5000
@@ -297,106 +311,97 @@ SPDX-License-Identifier: GPL-3.0-or-later
0.1
-
- vertical
+
-
+
+ none
+
-
- none
-
-
+
+ 0
-
- 0
+
-
+
+ Animation Time [ms]
+ 0
+ start
+ center
+ 1
+
+
+
+
+ end
+ center
+ 1
+ 0
+ left
+ 300
+ simple-fade-animation-time
+
+
+
+
-
- Animation Time [ms]
- 0
- start
- center
- 1
-
-
-
-
- end
- center
- 1
- 0
- left
- 300
- simple-fade-animation-time
-
-
-
-
-
-
- edit-clear-symbolic
- 1
-
-
- Reset to Default Value
-
+
+ edit-clear-symbolic
+ 1
+ Reset to Default Value
+
+
+
+
+
+ 0
-
- 0
+
-
+
+ Fade Width
+ 0
+ start
+ center
+ 1
+
+
+
+
+ end
+ center
+ 1
+ 2
+ left
+ 300
+ simple-fade-width
+
+
+
+
-
- Fade Width
- 0
- start
- center
- 1
-
-
-
-
- end
- center
- 1
- 2
- left
- 300
- simple-fade-width
-
-
-
-
-
-
- edit-clear-symbolic
- 1
-
-
- Reset to Default Value
-
+
+ edit-clear-symbolic
+ 1
+ Reset to Default Value
+
-
@@ -423,7 +428,7 @@ SPDX-FileCopyrightText: Your Name
SPDX-License-Identifier: GPL-3.0-or-later
-->
-
+
5000
@@ -439,97 +444,87 @@ SPDX-License-Identifier: GPL-3.0-or-later
0.1
-
- vertical
+
-
+
+ none
+
-
- none
- 1
-
-
+
+ 0
-
- 0
+
-
-
-
- Animation Time [ms]
- 0
- start
- center
- 1
-
-
-
-
- end
- center
- 1
- 0
- left
- 300
- simple-fade-animation-time
-
-
-
-
- edit-clear-symbolic
- Reset to Default Value
-
-
-
+
+ Animation Time [ms]
+ 0
+ start
+ center
+ 1
+
+
+
+
+ end
+ center
+ 1
+ 0
+ left
+ 300
+ simple-fade-animation-time
+
+
+
+
+ edit-clear-symbolic
+ Reset to Default Value
+
+
+
+
+
+ 0
-
- 0
+
-
-
-
- Fade Width
- 0
- start
- center
- 1
-
-
-
-
- end
- center
- 1
- 2
- left
- 300
- simple-fade-width
-
-
-
-
- edit-clear-symbolic
- Reset to Default Value
-
-
-
+
+ Fade Width
+ 0
+ start
+ center
+ 1
+
+
+
+
+ end
+ center
+ 1
+ 2
+ left
+ 300
+ simple-fade-width
+
+
+
+
+ edit-clear-symbolic
+ Reset to Default Value
+
-
@@ -570,7 +565,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
0.1
-
+
diff --git a/po/nl.po b/po/nl.po
index 02ca8cc..084622f 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -8,8 +8,8 @@ msgstr ""
"Project-Id-Version: Burn-My-Windows\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-21 16:46+0100\n"
-"PO-Revision-Date: 2023-02-21 16:19+0000\n"
-"Last-Translator: Heimen Stoffels \n"
+"PO-Revision-Date: 2023-03-17 10:41+0000\n"
+"Last-Translator: Philip Goto \n"
"Language-Team: Dutch \n"
"Language: nl\n"
@@ -17,7 +17,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Weblate 4.16-dev\n"
+"X-Generator: Weblate 4.16.2-dev\n"
#: src/ProfileManager.js:168 resources/ui/gtk4/prefs.ui:220
#: resources/ui/gtk3/prefs.ui:265 resources/ui/adw/prefs.ui:103
@@ -687,7 +687,7 @@ msgstr ""
#: resources/ui/gtk4/prefs.ui:166 resources/ui/gtk3/prefs.ui:206
#: resources/ui/adw/prefs.ui:70
msgid "Application"
-msgstr "Toepassing"
+msgstr "App"
#: resources/ui/gtk4/prefs.ui:184 resources/ui/gtk4/prefs.ui:219
#: resources/ui/gtk4/prefs.ui:248 resources/ui/gtk4/prefs.ui:277
diff --git a/po/pl.po b/po/pl.po
index cac967d..735011c 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -8,8 +8,8 @@ msgstr ""
"Project-Id-Version: burn-my-windows\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-21 16:46+0100\n"
-"PO-Revision-Date: 2023-01-25 20:52+0000\n"
-"Last-Translator: gnu-ewm \n"
+"PO-Revision-Date: 2023-03-05 17:41+0000\n"
+"Last-Translator: WaldiS \n"
"Language-Team: Polish \n"
"Language: pl\n"
@@ -18,81 +18,81 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2;\n"
-"X-Generator: Weblate 4.16-dev\n"
+"X-Generator: Weblate 4.16.2-dev\n"
#: src/ProfileManager.js:168 resources/ui/gtk4/prefs.ui:220
#: resources/ui/gtk3/prefs.ui:265 resources/ui/adw/prefs.ui:103
msgid "Opening Windows"
-msgstr ""
+msgstr "Otwieranie okien"
#: src/ProfileManager.js:169 resources/ui/gtk4/prefs.ui:221
#: resources/ui/gtk3/prefs.ui:266 resources/ui/adw/prefs.ui:104
msgid "Closing Windows"
-msgstr ""
+msgstr "Zamykanie okien"
#: src/ProfileManager.js:170 resources/ui/gtk4/prefs.ui:249
#: resources/ui/gtk3/prefs.ui:294 resources/ui/adw/prefs.ui:118
msgid "Normal Windows"
-msgstr ""
+msgstr "Normalne okna"
#: src/ProfileManager.js:171 resources/ui/gtk4/prefs.ui:250
#: resources/ui/gtk3/prefs.ui:295 resources/ui/adw/prefs.ui:119
msgid "Dialog Windows"
-msgstr ""
+msgstr "Okna dialogowe"
#: src/ProfileManager.js:172 resources/ui/gtk4/prefs.ui:278
#: resources/ui/gtk3/prefs.ui:323 resources/ui/adw/prefs.ui:133
msgid "Default Color Scheme"
-msgstr ""
+msgstr "Domyślny schemat kolorów"
#: src/ProfileManager.js:173 resources/ui/gtk4/prefs.ui:279
#: resources/ui/gtk3/prefs.ui:324 resources/ui/adw/prefs.ui:134
msgid "Dark Color Scheme"
-msgstr ""
+msgstr "Ciemny schemat kolorów"
#: src/ProfileManager.js:174 resources/ui/gtk4/prefs.ui:307
#: resources/ui/gtk3/prefs.ui:352 resources/ui/adw/prefs.ui:148
msgid "On Battery"
-msgstr ""
+msgstr "Zasilanie bateryjne"
#: src/ProfileManager.js:175 resources/ui/gtk4/prefs.ui:308
#: resources/ui/gtk3/prefs.ui:353 resources/ui/adw/prefs.ui:149
msgid "Plugged In"
-msgstr ""
+msgstr "Podłączony"
#: src/ProfileManager.js:176 resources/ui/gtk4/prefs.ui:336
#: resources/ui/gtk3/prefs.ui:381 resources/ui/adw/prefs.ui:163
msgid "Power-Saver Mode"
-msgstr ""
+msgstr "Tryb oszczędzania energii"
#: src/ProfileManager.js:177 resources/ui/gtk4/prefs.ui:337
#: resources/ui/gtk3/prefs.ui:382 resources/ui/adw/prefs.ui:164
msgid "Balanced Mode"
-msgstr ""
+msgstr "Tryb zrównoważony"
#: src/ProfileManager.js:178 resources/ui/gtk4/prefs.ui:338
#: resources/ui/gtk3/prefs.ui:383 resources/ui/adw/prefs.ui:165
msgid "Performance Mode"
-msgstr ""
+msgstr "Tryb wydajności"
#: src/ProfileManager.js:179 resources/ui/gtk4/prefs.ui:339
#: resources/ui/gtk3/prefs.ui:384 resources/ui/adw/prefs.ui:166
msgid "Power Saver or Balanced"
-msgstr ""
+msgstr "Oszczędzanie energii lub zrównoważony"
#: src/ProfileManager.js:180 resources/ui/gtk4/prefs.ui:340
#: resources/ui/gtk3/prefs.ui:385 resources/ui/adw/prefs.ui:167
msgid "Balanced or Performance"
-msgstr ""
+msgstr "Zrównoważony lub wydajny"
#: src/ProfileManager.js:185 resources/ui/gtk4/prefs.ui:387
#: resources/ui/gtk3/prefs.ui:432 resources/ui/adw/prefs.ui:183
msgid "High Priority"
-msgstr ""
+msgstr "Wysoki priorytet"
#: src/ProfileManager.js:191
msgid "Standard Profile"
-msgstr ""
+msgstr "Profil standardowy"
#: src/effects/Apparition.js:78
msgid "Apparition"
@@ -200,7 +200,7 @@ msgstr "Podgląd efektu"
#: prefs.js:364 resources/ui/gtk4/prefs.ui:50 resources/ui/gtk3/prefs.ui:86
msgid "Burn-My-Windows has been updated!"
-msgstr ""
+msgstr "Burn-My-Windows został zaktualizowany!"
#: prefs.js:365 resources/ui/common/menus.ui:17 resources/ui/gtk4/prefs.ui:56
#: resources/ui/gtk3/prefs.ui:96
@@ -225,21 +225,23 @@ msgstr "Byli Sponsorzy"
#: prefs.js:585
msgid "Delete this Profile?"
-msgstr ""
+msgstr "Usunąć ten profil?"
#: prefs.js:587
msgid ""
"The current effect profile with all its effect settings will be permanently "
"lost."
msgstr ""
+"Bieżący profil efektów wraz ze wszystkimi jego ustawieniami efektów zostanie "
+"trwale utracony."
#: prefs.js:592
msgid "Cancel"
-msgstr ""
+msgstr "Anuluj"
#: prefs.js:593
msgid "Delete"
-msgstr ""
+msgstr "Usuń"
#. Translators: %s will be replaced by the effect's name.
#: prefs.js:923
@@ -257,7 +259,7 @@ msgstr "Odwiedź Stronę Główną"
#: resources/ui/common/menus.ui:21
msgid "View Matching Wallpapers"
-msgstr ""
+msgstr "Zobacz pasujące tapety"
#: resources/ui/common/menus.ui:27
msgid "Report a Bug"
@@ -281,7 +283,7 @@ msgstr "Informacje o Burn-My-Windows"
#: resources/ui/common/menus.ui:63
msgid "Add New Profile..."
-msgstr ""
+msgstr "Dodaj nowy profil..."
#: resources/ui/gtk4/broken-glass.ui:22 resources/ui/gtk4/tv-glitch.ui:23
#: resources/ui/gtk4/glitch.ui:23 resources/ui/gtk4/matrix.ui:23
@@ -665,7 +667,7 @@ msgstr "Gradient"
#: resources/ui/gtk4/prefs.ui:82 resources/ui/gtk3/prefs.ui:124
#: resources/ui/adw/prefs.ui:224
msgid "Effect Settings"
-msgstr ""
+msgstr "Ustawienia efektu"
#: resources/ui/gtk4/prefs.ui:92 resources/ui/gtk3/prefs.ui:134
#: resources/ui/adw/prefs.ui:225
@@ -675,17 +677,17 @@ msgstr "Jeśli wybrano kilka, efekt jest wybierany losowo."
#: resources/ui/gtk4/prefs.ui:132 resources/ui/gtk3/prefs.ui:172
#: resources/ui/adw/prefs.ui:65
msgid "Effect Profile Constraints"
-msgstr ""
+msgstr "Ograniczenia profilu efektu"
#: resources/ui/gtk4/prefs.ui:142 resources/ui/gtk3/prefs.ui:182
#: resources/ui/adw/prefs.ui:66
msgid "Define when the current effect settings should be used."
-msgstr ""
+msgstr "Określ, kiedy mają być używane bieżące ustawienia efektów."
#: resources/ui/gtk4/prefs.ui:166 resources/ui/gtk3/prefs.ui:206
#: resources/ui/adw/prefs.ui:70
msgid "Application"
-msgstr ""
+msgstr "Aplikacja"
#: resources/ui/gtk4/prefs.ui:184 resources/ui/gtk4/prefs.ui:219
#: resources/ui/gtk4/prefs.ui:248 resources/ui/gtk4/prefs.ui:277
@@ -697,47 +699,47 @@ msgstr ""
#: resources/ui/adw/prefs.ui:117 resources/ui/adw/prefs.ui:132
#: resources/ui/adw/prefs.ui:147 resources/ui/adw/prefs.ui:162
msgid "Any"
-msgstr ""
+msgstr "Każdy"
#: resources/ui/gtk4/prefs.ui:208 resources/ui/gtk3/prefs.ui:253
#: resources/ui/adw/prefs.ui:98
msgid "Animation Type"
-msgstr ""
+msgstr "Typ animacji"
#: resources/ui/gtk4/prefs.ui:237 resources/ui/gtk3/prefs.ui:282
#: resources/ui/adw/prefs.ui:113
msgid "Window Type"
-msgstr ""
+msgstr "Typ okna"
#: resources/ui/gtk4/prefs.ui:266 resources/ui/gtk3/prefs.ui:311
#: resources/ui/adw/prefs.ui:128
msgid "Color Scheme"
-msgstr ""
+msgstr "Schemat kolorów"
#: resources/ui/gtk4/prefs.ui:295 resources/ui/gtk3/prefs.ui:340
#: resources/ui/adw/prefs.ui:143
msgid "Power Mode"
-msgstr ""
+msgstr "Tryb zasilania"
#: resources/ui/gtk4/prefs.ui:324 resources/ui/gtk3/prefs.ui:369
#: resources/ui/adw/prefs.ui:158
msgid "Power Profile"
-msgstr ""
+msgstr "Profil mocy"
#: resources/ui/gtk4/prefs.ui:356 resources/ui/gtk3/prefs.ui:401
#: resources/ui/adw/prefs.ui:179
msgid "Advanced Profile Options"
-msgstr ""
+msgstr "Zaawansowane opcje profilu"
#: resources/ui/gtk4/prefs.ui:396 resources/ui/gtk3/prefs.ui:441
#: resources/ui/adw/prefs.ui:184
msgid "Use this profile even if there are better matching profiles."
-msgstr ""
+msgstr "Użyj tego profilu, nawet jeśli istnieją lepiej dopasowane profile."
#: resources/ui/gtk4/prefs.ui:428 resources/ui/gtk3/prefs.ui:473
#: resources/ui/adw/prefs.ui:204
msgid "Delete this Profile..."
-msgstr ""
+msgstr "Usuń ten profil..."
#: resources/ui/gtk4/pixelate.ui:69 resources/ui/gtk3/pixelate.ui:90
#: resources/ui/adw/pixelate.ui:47
diff --git a/po/sk.po b/po/sk.po
index f46d98b..a0edea5 100644
--- a/po/sk.po
+++ b/po/sk.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: burn-my-windows\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-21 16:46+0100\n"
-"PO-Revision-Date: 2022-09-11 10:17+0000\n"
+"PO-Revision-Date: 2023-03-07 08:41+0000\n"
"Last-Translator: Jose Riha \n"
"Language-Team: Slovak \n"
@@ -17,81 +17,81 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
-"X-Generator: Weblate 4.14.1-dev\n"
+"X-Generator: Weblate 4.16.2-dev\n"
#: src/ProfileManager.js:168 resources/ui/gtk4/prefs.ui:220
#: resources/ui/gtk3/prefs.ui:265 resources/ui/adw/prefs.ui:103
msgid "Opening Windows"
-msgstr ""
+msgstr "Otváranie okien"
#: src/ProfileManager.js:169 resources/ui/gtk4/prefs.ui:221
#: resources/ui/gtk3/prefs.ui:266 resources/ui/adw/prefs.ui:104
msgid "Closing Windows"
-msgstr ""
+msgstr "Zatváranie okien"
#: src/ProfileManager.js:170 resources/ui/gtk4/prefs.ui:249
#: resources/ui/gtk3/prefs.ui:294 resources/ui/adw/prefs.ui:118
msgid "Normal Windows"
-msgstr ""
+msgstr "Normálne okná"
#: src/ProfileManager.js:171 resources/ui/gtk4/prefs.ui:250
#: resources/ui/gtk3/prefs.ui:295 resources/ui/adw/prefs.ui:119
msgid "Dialog Windows"
-msgstr ""
+msgstr "Dialógové okná"
#: src/ProfileManager.js:172 resources/ui/gtk4/prefs.ui:278
#: resources/ui/gtk3/prefs.ui:323 resources/ui/adw/prefs.ui:133
msgid "Default Color Scheme"
-msgstr ""
+msgstr "Predvolený motív farieb"
#: src/ProfileManager.js:173 resources/ui/gtk4/prefs.ui:279
#: resources/ui/gtk3/prefs.ui:324 resources/ui/adw/prefs.ui:134
msgid "Dark Color Scheme"
-msgstr ""
+msgstr "Tmavý motív farieb"
#: src/ProfileManager.js:174 resources/ui/gtk4/prefs.ui:307
#: resources/ui/gtk3/prefs.ui:352 resources/ui/adw/prefs.ui:148
msgid "On Battery"
-msgstr ""
+msgstr "Pri behu na batériu"
#: src/ProfileManager.js:175 resources/ui/gtk4/prefs.ui:308
#: resources/ui/gtk3/prefs.ui:353 resources/ui/adw/prefs.ui:149
msgid "Plugged In"
-msgstr ""
+msgstr "Pri nabíjaní"
#: src/ProfileManager.js:176 resources/ui/gtk4/prefs.ui:336
#: resources/ui/gtk3/prefs.ui:381 resources/ui/adw/prefs.ui:163
msgid "Power-Saver Mode"
-msgstr ""
+msgstr "Režim šetrenia energie"
#: src/ProfileManager.js:177 resources/ui/gtk4/prefs.ui:337
#: resources/ui/gtk3/prefs.ui:382 resources/ui/adw/prefs.ui:164
msgid "Balanced Mode"
-msgstr ""
+msgstr "Vyvážený režim"
#: src/ProfileManager.js:178 resources/ui/gtk4/prefs.ui:338
#: resources/ui/gtk3/prefs.ui:383 resources/ui/adw/prefs.ui:165
msgid "Performance Mode"
-msgstr ""
+msgstr "Vysoký výkon"
#: src/ProfileManager.js:179 resources/ui/gtk4/prefs.ui:339
#: resources/ui/gtk3/prefs.ui:384 resources/ui/adw/prefs.ui:166
msgid "Power Saver or Balanced"
-msgstr ""
+msgstr "Šetrenie energie alebo vyvážený"
#: src/ProfileManager.js:180 resources/ui/gtk4/prefs.ui:340
#: resources/ui/gtk3/prefs.ui:385 resources/ui/adw/prefs.ui:167
msgid "Balanced or Performance"
-msgstr ""
+msgstr "Vyvážený alebo vysoký výkon"
#: src/ProfileManager.js:185 resources/ui/gtk4/prefs.ui:387
#: resources/ui/gtk3/prefs.ui:432 resources/ui/adw/prefs.ui:183
msgid "High Priority"
-msgstr ""
+msgstr "Vysoká priorita"
#: src/ProfileManager.js:191
msgid "Standard Profile"
-msgstr ""
+msgstr "Štandardný profil"
#: src/effects/Apparition.js:78
msgid "Apparition"
@@ -127,7 +127,7 @@ msgstr "Pekelný oheň"
#: src/effects/Fire.js:174
msgid "Dark and Smutty"
-msgstr "Tmavý a zafúľaný"
+msgstr "Tmavý a špinavý"
#: src/effects/Fire.js:184
msgid "Cold Breeze"
@@ -135,15 +135,15 @@ msgstr "Studený vánok"
#: src/effects/Fire.js:194
msgid "Santa is Coming"
-msgstr "Santa prichádza"
+msgstr "Santa je tu!"
#: src/effects/Glide.js:78
msgid "Glide"
-msgstr ""
+msgstr "Kĺzanie"
#: src/effects/Glitch.js:86
msgid "Glitch"
-msgstr ""
+msgstr "Rušenie"
#: src/effects/Hexagon.js:94
msgid "Hexagon"
@@ -171,7 +171,7 @@ msgstr "Zotrenie štvorčekmi"
#: src/effects/Portal.js:88
msgid "Portal"
-msgstr ""
+msgstr "Portál"
#: src/effects/SnapOfDisintegration.js:114
msgid "Snap of Disintegration"
@@ -187,7 +187,7 @@ msgstr "Televízor"
#: src/effects/TVGlitch.js:87
msgid "TV Glitch"
-msgstr ""
+msgstr "Rušenie televízora"
#: src/effects/Wisps.js:82
msgid "Wisps"
@@ -195,11 +195,11 @@ msgstr "Obláčiky"
#: prefs.js:247
msgid "Preview this effect"
-msgstr ""
+msgstr "Vyskúšajte tento efekt"
#: prefs.js:364 resources/ui/gtk4/prefs.ui:50 resources/ui/gtk3/prefs.ui:86
msgid "Burn-My-Windows has been updated!"
-msgstr ""
+msgstr "Burn-My-Windows sa aktualizoval!"
#: prefs.js:365 resources/ui/common/menus.ui:17 resources/ui/gtk4/prefs.ui:56
#: resources/ui/gtk3/prefs.ui:96
@@ -224,21 +224,23 @@ msgstr "Bývalí sponzori"
#: prefs.js:585
msgid "Delete this Profile?"
-msgstr ""
+msgstr "Odstrániť tento profil?"
#: prefs.js:587
msgid ""
"The current effect profile with all its effect settings will be permanently "
"lost."
msgstr ""
+"Aktuálny profil efektu spolu so všetkými nastaveniami efektov bude trvalo "
+"odstránený."
#: prefs.js:592
msgid "Cancel"
-msgstr ""
+msgstr "Zrušiť"
#: prefs.js:593
msgid "Delete"
-msgstr ""
+msgstr "Odstrániť"
#. Translators: %s will be replaced by the effect's name.
#: prefs.js:923
@@ -256,7 +258,7 @@ msgstr "Navštíviť webovú stránku"
#: resources/ui/common/menus.ui:21
msgid "View Matching Wallpapers"
-msgstr ""
+msgstr "Zobraziť zodpovedajúce pozadia plochy"
#: resources/ui/common/menus.ui:27
msgid "Report a Bug"
@@ -280,7 +282,7 @@ msgstr "O Burn-My-Windows"
#: resources/ui/common/menus.ui:63
msgid "Add New Profile..."
-msgstr ""
+msgstr "Pridať nový profil…"
#: resources/ui/gtk4/broken-glass.ui:22 resources/ui/gtk4/tv-glitch.ui:23
#: resources/ui/gtk4/glitch.ui:23 resources/ui/gtk4/matrix.ui:23
@@ -470,7 +472,7 @@ msgstr "Črepiny odletia z miesta, kde bol kurzor myši pri zatváraní okna."
#: resources/ui/gtk3/tv-glitch.ui:142 resources/ui/gtk3/glitch.ui:142
#: resources/ui/adw/tv-glitch.ui:80 resources/ui/adw/glitch.ui:80
msgid "Strength"
-msgstr ""
+msgstr "Intenzita"
#: resources/ui/gtk4/tv-glitch.ui:161 resources/ui/gtk4/glitch.ui:161
#: resources/ui/gtk4/fire.ui:138 resources/ui/gtk3/tv-glitch.ui:187
@@ -557,17 +559,17 @@ msgstr "Počet lúčov"
#: resources/ui/gtk4/glide.ui:115 resources/ui/gtk3/glide.ui:149
#: resources/ui/adw/glide.ui:80
msgid "Squish"
-msgstr ""
+msgstr "Stlačenie"
#: resources/ui/gtk4/glide.ui:161 resources/ui/gtk3/glide.ui:194
#: resources/ui/adw/glide.ui:113
msgid "Tilt"
-msgstr ""
+msgstr "Naklonenie"
#: resources/ui/gtk4/glide.ui:207 resources/ui/gtk3/glide.ui:239
#: resources/ui/adw/glide.ui:146
msgid "Shift"
-msgstr ""
+msgstr "Posunutie"
#: resources/ui/gtk4/apparition.ui:114 resources/ui/gtk3/apparition.ui:149
#: resources/ui/adw/apparition.ui:81
@@ -587,17 +589,17 @@ msgstr "Intenzita odsatia"
#: resources/ui/gtk4/portal.ui:69 resources/ui/gtk3/portal.ui:142
#: resources/ui/adw/portal.ui:80
msgid "Whirling"
-msgstr ""
+msgstr "Vír"
#: resources/ui/gtk4/portal.ui:115 resources/ui/gtk3/portal.ui:97
#: resources/ui/adw/portal.ui:47
msgid "Rotation Speed"
-msgstr ""
+msgstr "Rýchlosť otáčania"
#: resources/ui/gtk4/portal.ui:161 resources/ui/gtk3/portal.ui:187
#: resources/ui/adw/portal.ui:113
msgid "Details"
-msgstr ""
+msgstr "Podrobnosti"
#: resources/ui/gtk4/incinerate.ui:115 resources/ui/gtk3/incinerate.ui:135
#: resources/ui/adw/incinerate.ui:80
@@ -652,7 +654,7 @@ msgstr "3D šum"
#: resources/ui/gtk4/fire.ui:197 resources/ui/gtk3/fire.ui:229
#: resources/ui/adw/fire.ui:130
msgid "Creates a more dynamic fire but requires more GPU power."
-msgstr "Vytvorí dynamickejší efekt ohňa, ale vyžaduje na to viac GPU."
+msgstr "Vytvorí dynamickejší efekt ohňa, ale potrebuje viac GPU."
#: resources/ui/gtk4/fire.ui:239 resources/ui/gtk3/fire.ui:276
#: resources/ui/adw/fire.ui:152
@@ -662,7 +664,7 @@ msgstr "Prechod"
#: resources/ui/gtk4/prefs.ui:82 resources/ui/gtk3/prefs.ui:124
#: resources/ui/adw/prefs.ui:224
msgid "Effect Settings"
-msgstr ""
+msgstr "Nastavenia efektov"
#: resources/ui/gtk4/prefs.ui:92 resources/ui/gtk3/prefs.ui:134
#: resources/ui/adw/prefs.ui:225
@@ -672,17 +674,17 @@ msgstr "Ak ich vyberiete viac, budú sa náhodne striedať."
#: resources/ui/gtk4/prefs.ui:132 resources/ui/gtk3/prefs.ui:172
#: resources/ui/adw/prefs.ui:65
msgid "Effect Profile Constraints"
-msgstr ""
+msgstr "Obmedzenia profilu efektov"
#: resources/ui/gtk4/prefs.ui:142 resources/ui/gtk3/prefs.ui:182
#: resources/ui/adw/prefs.ui:66
msgid "Define when the current effect settings should be used."
-msgstr ""
+msgstr "Určite, kedy sa majú použiť aktuálne nastavenia efektov."
#: resources/ui/gtk4/prefs.ui:166 resources/ui/gtk3/prefs.ui:206
#: resources/ui/adw/prefs.ui:70
msgid "Application"
-msgstr ""
+msgstr "Aplikácia"
#: resources/ui/gtk4/prefs.ui:184 resources/ui/gtk4/prefs.ui:219
#: resources/ui/gtk4/prefs.ui:248 resources/ui/gtk4/prefs.ui:277
@@ -694,47 +696,48 @@ msgstr ""
#: resources/ui/adw/prefs.ui:117 resources/ui/adw/prefs.ui:132
#: resources/ui/adw/prefs.ui:147 resources/ui/adw/prefs.ui:162
msgid "Any"
-msgstr ""
+msgstr "Ľubovoľné"
#: resources/ui/gtk4/prefs.ui:208 resources/ui/gtk3/prefs.ui:253
#: resources/ui/adw/prefs.ui:98
msgid "Animation Type"
-msgstr ""
+msgstr "Typ animácie"
#: resources/ui/gtk4/prefs.ui:237 resources/ui/gtk3/prefs.ui:282
#: resources/ui/adw/prefs.ui:113
msgid "Window Type"
-msgstr ""
+msgstr "Typ okna"
#: resources/ui/gtk4/prefs.ui:266 resources/ui/gtk3/prefs.ui:311
#: resources/ui/adw/prefs.ui:128
msgid "Color Scheme"
-msgstr ""
+msgstr "Motív farieb"
#: resources/ui/gtk4/prefs.ui:295 resources/ui/gtk3/prefs.ui:340
#: resources/ui/adw/prefs.ui:143
msgid "Power Mode"
-msgstr ""
+msgstr "Režim šetrenia energie"
#: resources/ui/gtk4/prefs.ui:324 resources/ui/gtk3/prefs.ui:369
#: resources/ui/adw/prefs.ui:158
msgid "Power Profile"
-msgstr ""
+msgstr "Profil šetrenia energie"
#: resources/ui/gtk4/prefs.ui:356 resources/ui/gtk3/prefs.ui:401
#: resources/ui/adw/prefs.ui:179
msgid "Advanced Profile Options"
-msgstr ""
+msgstr "Pokročilé voľby profilu"
#: resources/ui/gtk4/prefs.ui:396 resources/ui/gtk3/prefs.ui:441
#: resources/ui/adw/prefs.ui:184
msgid "Use this profile even if there are better matching profiles."
msgstr ""
+"Použiť tento profil aj v prípade, že existujú profily, ktoré vyhovujú viac."
#: resources/ui/gtk4/prefs.ui:428 resources/ui/gtk3/prefs.ui:473
#: resources/ui/adw/prefs.ui:204
msgid "Delete this Profile..."
-msgstr ""
+msgstr "Odstrániť tento profil…"
#: resources/ui/gtk4/pixelate.ui:69 resources/ui/gtk3/pixelate.ui:90
#: resources/ui/adw/pixelate.ui:47
diff --git a/po/uk.po b/po/uk.po
index 31cfa15..5c75cd2 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -8,91 +8,91 @@ msgstr ""
"Project-Id-Version: burn-my-windows\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-21 16:46+0100\n"
-"PO-Revision-Date: 2023-01-25 20:52+0000\n"
-"Last-Translator: Petro S. <911us@duck.com>\n"
-"Language-Team: Ukrainian \n"
+"PO-Revision-Date: 2023-03-28 09:40+0000\n"
+"Last-Translator: CakesTwix \n"
+"Language-Team: Ukrainian \n"
"Language: uk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
-"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
-"X-Generator: Weblate 4.16-dev\n"
+"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
+"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+"X-Generator: Weblate 4.17-dev\n"
#: src/ProfileManager.js:168 resources/ui/gtk4/prefs.ui:220
#: resources/ui/gtk3/prefs.ui:265 resources/ui/adw/prefs.ui:103
msgid "Opening Windows"
-msgstr ""
+msgstr "Відкриття вікон"
#: src/ProfileManager.js:169 resources/ui/gtk4/prefs.ui:221
#: resources/ui/gtk3/prefs.ui:266 resources/ui/adw/prefs.ui:104
msgid "Closing Windows"
-msgstr ""
+msgstr "Закриття вікон"
#: src/ProfileManager.js:170 resources/ui/gtk4/prefs.ui:249
#: resources/ui/gtk3/prefs.ui:294 resources/ui/adw/prefs.ui:118
msgid "Normal Windows"
-msgstr ""
+msgstr "Звичайні вікна"
#: src/ProfileManager.js:171 resources/ui/gtk4/prefs.ui:250
#: resources/ui/gtk3/prefs.ui:295 resources/ui/adw/prefs.ui:119
msgid "Dialog Windows"
-msgstr ""
+msgstr "Діалогові вікна"
#: src/ProfileManager.js:172 resources/ui/gtk4/prefs.ui:278
#: resources/ui/gtk3/prefs.ui:323 resources/ui/adw/prefs.ui:133
msgid "Default Color Scheme"
-msgstr ""
+msgstr "Кольорова схема за замовчуванням"
#: src/ProfileManager.js:173 resources/ui/gtk4/prefs.ui:279
#: resources/ui/gtk3/prefs.ui:324 resources/ui/adw/prefs.ui:134
msgid "Dark Color Scheme"
-msgstr ""
+msgstr "Темна кольорова схема"
#: src/ProfileManager.js:174 resources/ui/gtk4/prefs.ui:307
#: resources/ui/gtk3/prefs.ui:352 resources/ui/adw/prefs.ui:148
msgid "On Battery"
-msgstr ""
+msgstr "На батареї"
#: src/ProfileManager.js:175 resources/ui/gtk4/prefs.ui:308
#: resources/ui/gtk3/prefs.ui:353 resources/ui/adw/prefs.ui:149
msgid "Plugged In"
-msgstr ""
+msgstr "Підключено до електромережі"
#: src/ProfileManager.js:176 resources/ui/gtk4/prefs.ui:336
#: resources/ui/gtk3/prefs.ui:381 resources/ui/adw/prefs.ui:163
msgid "Power-Saver Mode"
-msgstr ""
+msgstr "Режим енергозбереження"
#: src/ProfileManager.js:177 resources/ui/gtk4/prefs.ui:337
#: resources/ui/gtk3/prefs.ui:382 resources/ui/adw/prefs.ui:164
msgid "Balanced Mode"
-msgstr ""
+msgstr "Збалансований режим"
#: src/ProfileManager.js:178 resources/ui/gtk4/prefs.ui:338
#: resources/ui/gtk3/prefs.ui:383 resources/ui/adw/prefs.ui:165
msgid "Performance Mode"
-msgstr ""
+msgstr "Продуктивний режим"
#: src/ProfileManager.js:179 resources/ui/gtk4/prefs.ui:339
#: resources/ui/gtk3/prefs.ui:384 resources/ui/adw/prefs.ui:166
msgid "Power Saver or Balanced"
-msgstr ""
+msgstr "Енергозберігаючий або збалансований"
#: src/ProfileManager.js:180 resources/ui/gtk4/prefs.ui:340
#: resources/ui/gtk3/prefs.ui:385 resources/ui/adw/prefs.ui:167
msgid "Balanced or Performance"
-msgstr ""
+msgstr "Збалансований або продуктивний"
#: src/ProfileManager.js:185 resources/ui/gtk4/prefs.ui:387
#: resources/ui/gtk3/prefs.ui:432 resources/ui/adw/prefs.ui:183
msgid "High Priority"
-msgstr ""
+msgstr "Високий пріоритет"
#: src/ProfileManager.js:191
msgid "Standard Profile"
-msgstr ""
+msgstr "Стандартний профіль"
#: src/effects/Apparition.js:78
msgid "Apparition"
@@ -200,7 +200,7 @@ msgstr "Попередній перегляд цього ефекту"
#: prefs.js:364 resources/ui/gtk4/prefs.ui:50 resources/ui/gtk3/prefs.ui:86
msgid "Burn-My-Windows has been updated!"
-msgstr ""
+msgstr "Burn-My-Windows оновлено!"
#: prefs.js:365 resources/ui/common/menus.ui:17 resources/ui/gtk4/prefs.ui:56
#: resources/ui/gtk3/prefs.ui:96
@@ -225,21 +225,23 @@ msgstr "Колишні спонсори"
#: prefs.js:585
msgid "Delete this Profile?"
-msgstr ""
+msgstr "Видалити цей профіль?"
#: prefs.js:587
msgid ""
"The current effect profile with all its effect settings will be permanently "
"lost."
msgstr ""
+"Поточний профіль ефекту з усіма його налаштуваннями буде безповоротно "
+"втрачено."
#: prefs.js:592
msgid "Cancel"
-msgstr ""
+msgstr "Скасувати"
#: prefs.js:593
msgid "Delete"
-msgstr ""
+msgstr "Видалити"
#. Translators: %s will be replaced by the effect's name.
#: prefs.js:923
@@ -257,7 +259,7 @@ msgstr "Завітайте на сайт"
#: resources/ui/common/menus.ui:21
msgid "View Matching Wallpapers"
-msgstr ""
+msgstr "Переглянути відповідні обої"
#: resources/ui/common/menus.ui:27
msgid "Report a Bug"
@@ -281,7 +283,7 @@ msgstr "Про Burn-My-Windows"
#: resources/ui/common/menus.ui:63
msgid "Add New Profile..."
-msgstr ""
+msgstr "Додати новий профіль..."
#: resources/ui/gtk4/broken-glass.ui:22 resources/ui/gtk4/tv-glitch.ui:23
#: resources/ui/gtk4/glitch.ui:23 resources/ui/gtk4/matrix.ui:23
@@ -665,7 +667,7 @@ msgstr "Градієнт"
#: resources/ui/gtk4/prefs.ui:82 resources/ui/gtk3/prefs.ui:124
#: resources/ui/adw/prefs.ui:224
msgid "Effect Settings"
-msgstr ""
+msgstr "Налаштування ефектів"
#: resources/ui/gtk4/prefs.ui:92 resources/ui/gtk3/prefs.ui:134
#: resources/ui/adw/prefs.ui:225
@@ -675,17 +677,17 @@ msgstr "Якщо вибрано декілька, то один оберетьс
#: resources/ui/gtk4/prefs.ui:132 resources/ui/gtk3/prefs.ui:172
#: resources/ui/adw/prefs.ui:65
msgid "Effect Profile Constraints"
-msgstr ""
+msgstr "Обмеження профілю ефектів"
#: resources/ui/gtk4/prefs.ui:142 resources/ui/gtk3/prefs.ui:182
#: resources/ui/adw/prefs.ui:66
msgid "Define when the current effect settings should be used."
-msgstr ""
+msgstr "Визначте, коли слід використовувати поточні налаштування ефекту."
#: resources/ui/gtk4/prefs.ui:166 resources/ui/gtk3/prefs.ui:206
#: resources/ui/adw/prefs.ui:70
msgid "Application"
-msgstr ""
+msgstr "Додаток"
#: resources/ui/gtk4/prefs.ui:184 resources/ui/gtk4/prefs.ui:219
#: resources/ui/gtk4/prefs.ui:248 resources/ui/gtk4/prefs.ui:277
@@ -697,47 +699,47 @@ msgstr ""
#: resources/ui/adw/prefs.ui:117 resources/ui/adw/prefs.ui:132
#: resources/ui/adw/prefs.ui:147 resources/ui/adw/prefs.ui:162
msgid "Any"
-msgstr ""
+msgstr "Будь-який"
#: resources/ui/gtk4/prefs.ui:208 resources/ui/gtk3/prefs.ui:253
#: resources/ui/adw/prefs.ui:98
msgid "Animation Type"
-msgstr ""
+msgstr "Тип анімації"
#: resources/ui/gtk4/prefs.ui:237 resources/ui/gtk3/prefs.ui:282
#: resources/ui/adw/prefs.ui:113
msgid "Window Type"
-msgstr ""
+msgstr "Тип вікна"
#: resources/ui/gtk4/prefs.ui:266 resources/ui/gtk3/prefs.ui:311
#: resources/ui/adw/prefs.ui:128
msgid "Color Scheme"
-msgstr ""
+msgstr "Кольорова схема"
#: resources/ui/gtk4/prefs.ui:295 resources/ui/gtk3/prefs.ui:340
#: resources/ui/adw/prefs.ui:143
msgid "Power Mode"
-msgstr ""
+msgstr "Режим живлення"
#: resources/ui/gtk4/prefs.ui:324 resources/ui/gtk3/prefs.ui:369
#: resources/ui/adw/prefs.ui:158
msgid "Power Profile"
-msgstr ""
+msgstr "Профіль живлення"
#: resources/ui/gtk4/prefs.ui:356 resources/ui/gtk3/prefs.ui:401
#: resources/ui/adw/prefs.ui:179
msgid "Advanced Profile Options"
-msgstr ""
+msgstr "Розширені параметри профілю"
#: resources/ui/gtk4/prefs.ui:396 resources/ui/gtk3/prefs.ui:441
#: resources/ui/adw/prefs.ui:184
msgid "Use this profile even if there are better matching profiles."
-msgstr ""
+msgstr "Використати цей профіль, навіть якщо є кращі підходящі профілі."
#: resources/ui/gtk4/prefs.ui:428 resources/ui/gtk3/prefs.ui:473
#: resources/ui/adw/prefs.ui:204
msgid "Delete this Profile..."
-msgstr ""
+msgstr "Видалити цей профіль..."
#: resources/ui/gtk4/pixelate.ui:69 resources/ui/gtk3/pixelate.ui:90
#: resources/ui/adw/pixelate.ui:47
diff --git a/prefs.js b/prefs.js
index 88499c2..82d7614 100644
--- a/prefs.js
+++ b/prefs.js
@@ -227,8 +227,16 @@ var PreferencesDialog = class PreferencesDialog {
const [minMajor, minMinor] = effect.getMinShellVersion();
if (utils.shellVersionIsAtLeast(minMajor, minMinor)) {
- const uiFile = `/ui/${utils.getUIDir()}/${effect.getNick()}.ui`;
- const [hasPrefs] = Gio.resources_get_info(uiFile, 0);
+ const uiFile = `/ui/${utils.getUIDir()}/${effect.getNick()}.ui`;
+
+ // Is there a better way to test for the existence of a resource file?
+ let hasPrefs = false;
+ try {
+ Gio.resources_get_info(uiFile, 0);
+ hasPrefs = true;
+ } catch (e) {
+ // Nothing todo, there
+ }
// Add the settings page to the builder.
if (hasPrefs) {
@@ -288,9 +296,11 @@ var PreferencesDialog = class PreferencesDialog {
}
});
this._effectRows.push(row);
+ row.add_action(previewButton);
+ } else {
+ row.add_suffix(previewButton);
}
- row.add_action(previewButton);
row.add_prefix(button);
group.add(row);
@@ -440,8 +450,9 @@ var PreferencesDialog = class PreferencesDialog {
addURIAction('bugs', 'https://github.com/Schneegans/Burn-My-Windows/issues');
addURIAction('new-effect', 'https://github.com/Schneegans/Burn-My-Windows/blob/main/docs/how-to-create-new-effects.md');
addURIAction('translate', 'https://hosted.weblate.org/engage/burn-my-windows/');
- addURIAction('donate-paypal', 'https://www.paypal.com/donate/?hosted_button_id=3F7UFL8KLVPXE');
+ addURIAction('donate-kofi', 'https://ko-fi.com/schneegans');
addURIAction('donate-github', 'https://github.com/sponsors/Schneegans');
+ addURIAction('donate-paypal', 'https://www.paypal.com/donate/?hosted_button_id=3F7UFL8KLVPXE');
addURIAction('wallpapers', 'https://github.com/Schneegans/ai-wallpapers');
// clang-format on
diff --git a/resources/credits/sponsors.json b/resources/credits/sponsors.json
index 9c814ab..d405744 100644
--- a/resources/credits/sponsors.json
+++ b/resources/credits/sponsors.json
@@ -1,12 +1,12 @@
{
"gold": [
{
- "name": "Maxence Sebald",
- "url": ""
+ "name": "D3vil0p3r",
+ "url": "https://github.com/D3vil0p3r"
},
{
- "name": "Dennis ten Hoove",
- "url": "https://github.com/dennis1248"
+ "name": "Maxence Sebald",
+ "url": ""
}
],
"silver": [
@@ -20,6 +20,10 @@
}
],
"bronze": [
+ {
+ "name": "@SubOptimal",
+ "url": "https://github.com/SubOptimal"
+ },
{
"name": "@vlazic",
"url": "https://github.com/vlazic"
@@ -27,8 +31,8 @@
],
"past": [
{
- "name": "D3vil0p3r",
- "url": "https://github.com/D3vil0p3r"
+ "name": "Dennis ten Hoove",
+ "url": "https://github.com/dennis1248"
},
{
"name": "@MRR-dev",
diff --git a/resources/ui/common/menus.ui b/resources/ui/common/menus.ui
index 3a09f5d..3f8913a 100644
--- a/resources/ui/common/menus.ui
+++ b/resources/ui/common/menus.ui
@@ -38,13 +38,17 @@ SPDX-License-Identifier: GPL-3.0-or-later
Donate
-
-
PayPal
- prefs.donate-paypal
+ Ko-fi
+ prefs.donate-kofi
-
GitHub
prefs.donate-github
+ -
+
PayPal
+ prefs.donate-paypal
+
diff --git a/tests/generate-references.sh b/tests/generate-references.sh
index ac6b819..d1ebdae 100755
--- a/tests/generate-references.sh
+++ b/tests/generate-references.sh
@@ -29,6 +29,8 @@
# -v 35: GNOME Shell 41
# -v 36: GNOME Shell 42
# -v 37: GNOME Shell 43
+# -v 38: GNOME Shell 44
+# -v rawhide: The current GNOME Shell version of Fedora Rawhide
# -s session: This can either be "gnome-xsession" or "gnome-wayland-nested".
# Exit on error.
@@ -140,7 +142,7 @@ do_in_pod gnome-extensions install "${EXTENSION}.zip"
# Starting with GNOME 40, there is a "Welcome Tour" dialog popping up at first launch.
# We disable this beforehand.
-if [[ "${FEDORA_VERSION}" -gt 33 ]]; then
+if [[ "${FEDORA_VERSION}" -gt 33 ]] || [[ "${FEDORA_VERSION}" == "rawhide" ]]; then
echo "Disabling welcome tour."
do_in_pod gsettings set org.gnome.shell welcome-dialog-last-shown-version "999" || true
fi
@@ -157,7 +159,7 @@ do_in_pod gnome-extensions enable "${EXTENSION}"
# Starting with GNOME 40, the overview is the default mode. We close this here by hitting
# the super key.
-if [[ "${FEDORA_VERSION}" -gt 33 ]]; then
+if [[ "${FEDORA_VERSION}" -gt 33 ]] || [[ "${FEDORA_VERSION}" == "rawhide" ]]; then
echo "Closing Overview."
send_keystroke "super"
fi
@@ -194,12 +196,12 @@ capture_effect "tv"
capture_effect "tv-glitch"
capture_effect "wisps"
-if [[ "${FEDORA_VERSION}" -gt 32 ]]; then
+if [[ "${FEDORA_VERSION}" -gt 32 ]] || [[ "${FEDORA_VERSION}" == "rawhide" ]]; then
capture_effect "apparition"
capture_effect "doom"
fi
-if [[ "${FEDORA_VERSION}" -gt 33 ]]; then
+if [[ "${FEDORA_VERSION}" -gt 33 ]] || [[ "${FEDORA_VERSION}" == "rawhide" ]]; then
capture_effect "trex"
capture_effect "broken-glass"
capture_effect "matrix"
diff --git a/tests/run-test.sh b/tests/run-test.sh
index 8d79d1b..6ce84c0 100755
--- a/tests/run-test.sh
+++ b/tests/run-test.sh
@@ -30,6 +30,8 @@
# -v 35: GNOME Shell 41
# -v 36: GNOME Shell 42
# -v 37: GNOME Shell 43
+# -v 38: GNOME Shell 44
+# -v rawhide: The current GNOME Shell version of Fedora Rawhide
# -s session: This can either be "gnome-xsession" or "gnome-wayland-nested".
# Exit on error.
@@ -163,7 +165,7 @@ do_in_pod gnome-extensions install "${EXTENSION}.zip"
# Starting with GNOME 40, there is a "Welcome Tour" dialog popping up at first launch.
# We disable this beforehand.
-if [[ "${FEDORA_VERSION}" -gt 33 ]]; then
+if [[ "${FEDORA_VERSION}" -gt 33 ]] || [[ "${FEDORA_VERSION}" == "rawhide" ]]; then
echo "Disabling welcome tour."
do_in_pod gsettings set org.gnome.shell welcome-dialog-last-shown-version "999" || true
fi
@@ -180,7 +182,7 @@ do_in_pod gnome-extensions enable "${EXTENSION}"
# Starting with GNOME 40, the overview is the default mode. We close this here by hitting
# the super key.
-if [[ "${FEDORA_VERSION}" -gt 33 ]]; then
+if [[ "${FEDORA_VERSION}" -gt 33 ]] || [[ "${FEDORA_VERSION}" == "rawhide" ]]; then
echo "Closing Overview."
send_keystroke "super"
fi
@@ -217,12 +219,12 @@ test_effect "tv"
test_effect "tv-glitch"
test_effect "wisps"
-if [[ "${FEDORA_VERSION}" -gt 32 ]]; then
+if [[ "${FEDORA_VERSION}" -gt 32 ]] || [[ "${FEDORA_VERSION}" == "rawhide" ]]; then
test_effect "apparition"
test_effect "doom"
fi
-if [[ "${FEDORA_VERSION}" -gt 33 ]]; then
+if [[ "${FEDORA_VERSION}" -gt 33 ]] || [[ "${FEDORA_VERSION}" == "rawhide" ]]; then
test_effect "trex"
test_effect "broken-glass"
test_effect "matrix"