Merge branch 'main' into feature/glitch

This commit is contained in:
Simon Schneegans
2023-01-02 20:31:22 +01:00
7 changed files with 17 additions and 5 deletions
+8
View File
@@ -5,6 +5,14 @@ SPDX-License-Identifier: CC-BY-4.0
# Changelog of the Burn-My-Windows Extension
## [Burn My Windows 24](https://github.com/schneegans/Burn-My-Windows/releases/tag/v24)
**Release Date:** TBD
#### Other Enhancements
* The menu button of the settings dialog has been moved to the left and now shows a heart instead of three dots.
## [Burn My Windows 23](https://github.com/schneegans/Burn-My-Windows/releases/tag/v23)
**Release Date:** 2022-12-23
+2 -2
View File
@@ -267,12 +267,12 @@ var PreferencesDialog = class PreferencesDialog {
// of the Adw.PreferencesWindow...
if (Adw && utils.shellVersionIsAtLeast(42, 'beta')) {
const header = this._findWidgetByType(window.get_content(), Adw.HeaderBar);
header.pack_end(menu);
header.pack_start(menu);
// Allow closing of the sub pages.
window.can_navigate_back = true;
} else {
window.get_titlebar().pack_end(menu);
window.get_titlebar().pack_start(menu);
}
// Populate the menu with actions.
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px"><path d="m 11.394531 1.964844 c -0.972656 -0.027344 -1.921875 0.324218 -2.640625 0.984375 l -0.753906 0.675781 l -0.757812 -0.675781 c -0.996094 -0.898438 -2.402344 -1.191407 -3.675782 -0.769531 c -1.277344 0.417968 -2.230468 1.488281 -2.5 2.804687 c -0.269531 1.316406 0.183594 2.675781 1.1875 3.566406 l 5.746094 5.117188 l 5.742188 -5.117188 c 1.171874 -1.011719 1.601562 -2.640625 1.082031 -4.097656 s -1.882813 -2.445313 -3.429688 -2.488281 z m 0 0" fill="#222222"/></svg>

After

Width:  |  Height:  |  Size: 604 B

+1 -1
View File
@@ -10,7 +10,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
<object class="GtkMenuButton" id="menu-button">
<property name="menu-model">main-menu</property>
<property name="icon-name">open-menu-symbolic</property>
<property name="icon-name">heart-filled-symbolic</property>
</object>
<object class="GtkBox" id="general-prefs">
+1 -1
View File
@@ -16,7 +16,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
<property name="visible">1</property>
<child>
<object class="GtkImage">
<property name="icon-name">open-menu-symbolic</property>
<property name="icon-name">heart-filled-symbolic</property>
<property name="visible">1</property>
<property name="icon-size">1</property>
</object>
+1 -1
View File
@@ -13,7 +13,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
<object class="GtkMenuButton" id="menu-button">
<property name="menu-model">main-menu</property>
<property name="icon-name">open-menu-symbolic</property>
<property name="icon-name">heart-filled-symbolic</property>
</object>
<object class="GtkBox" id="general-prefs">
+2
View File
@@ -24,6 +24,8 @@ const utils = Me.imports.src.utils;
const ShaderFactory = Me.imports.src.ShaderFactory.ShaderFactory;
//////////////////////////////////////////////////////////////////////////////////////////
// This ridiculous effect teleports your windows from and to alternative dimensions. //
// It may resemble the portal from a well-known cartoon series... //
//////////////////////////////////////////////////////////////////////////////////////////
// The effect class can be used to get some metadata (like the effect's name or supported