🔧 Use heart button instead of menu button
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user