🔧 Use heart button instead of menu button

This commit is contained in:
Simon Schneegans
2023-01-02 20:29:49 +01:00
parent 1693d9a25b
commit 6440d00891
5 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -266,12 +266,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.