editor: Use AdwButtonRow where possible

This commit is contained in:
Elias Projahn 2025-03-01 08:55:04 +01:00
parent 18ba84c86f
commit e59052a362
8 changed files with 40 additions and 91 deletions

View file

@ -14,17 +14,11 @@ template $MusicusTranslationEditor: Adw.Bin {
use-underline: true;
}
Adw.ActionRow {
title: _("Add translation");
activatable: true;
Adw.ButtonRow {
title: _("Add _translation");
start-icon-name: "list-add-symbolic";
use-underline: true;
activated => $add_translation() swapped;
[prefix]
Gtk.Box select_person_box {
Gtk.Image {
icon-name: "list-add-symbolic";
}
}
}
}
}