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
+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.