Implement source filtering

This commit is contained in:
kramo
2023-07-07 21:25:08 +02:00
parent 2d00d3a1bc
commit e7d27cc1c4
8 changed files with 135 additions and 24 deletions

View File

@@ -88,16 +88,44 @@ template $CartridgesWindow : Adw.ApplicationWindow {
}
}
ListBox {
Box {
ListBox sidebar {
Box all_games_row_box {
margin-top: 12;
margin-bottom: 12;
margin-start: 6;
margin-end: 6;
spacing: 12;
Image {
icon-name: "view-grid";
margin-start: 3;
margin-end: 9;
icon-name: "view-grid-symbolic";
}
Label {
halign: start;
label: _("All");
label: _("All Games");
}
}
Box added_row_box {
margin-top: 12;
margin-bottom: 12;
margin-start: 6;
margin-end: 6;
spacing: 12;
Image {
icon-name: "list-add-symbolic";
}
Label {
halign: start;
label: _("Added");
}
}
ListBoxRow {
selectable: false;
activatable: false;
Label {
label: _("Imported");
styles ["heading"]
halign: start;
}
}
styles ["navigation-sidebar"]