Fully finish filter window

This commit is contained in:
Heliguy
2024-02-06 10:39:55 -05:00
parent 3fce46e5d6
commit b654118be4
6 changed files with 187 additions and 92 deletions

View File

@@ -21,11 +21,11 @@
<key name="show-runtimes" type="b">
<default>false</default>
</key>
<key name="ids-list" type="s">
<default>""</default>
</key>
<key name="remotes-list" type="s">
<default>""</default>
<default>"all"</default>
</key>
<key name="runtimes-list" type="s">
<default>"all"</default>
</key>
</schema>
</schemalist>

View File

@@ -16,7 +16,7 @@ template $FilterWindow: Adw.Window {
Button cancel_button {
label: _("Cancel");
}
[end]
Button apply_button {
label: _("Apply");
@@ -53,31 +53,31 @@ template $FilterWindow: Adw.Window {
Adw.ActionRow apps_row {
title: _("Show Apps");
Switch apps_switch {
Switch show_apps_switch {
valign: center;
}
activatable-widget: apps_switch;
activatable-widget: show_apps_switch;
}
Adw.ActionRow runtimes_row {
Adw.ActionRow show_runtimes_row {
title: _("Show Runtimes");
Switch runtimes_switch {
Switch show_runtimes_switch {
valign: center;
}
activatable-widget: runtimes_switch;
activatable-widget: show_runtimes_switch;
}
Adw.ExpanderRow remotes_expander {
enable-expansion: false;
title: _("Filter Apps by Remotes");
title: _("Filter by Remotes");
}
Adw.ExpanderRow runtimes_expander {
enable-expansion: false;
title: _("Filter Apps by Runtime");
title: _("Filter by Runtimes");
}
}