mirror of
https://github.com/morgan9e/warehouse
synced 2026-04-14 00:04:08 +09:00
Make filter window apply instantly on change
This commit is contained in:
@@ -10,21 +10,7 @@ template $FilterWindow: Adw.Window {
|
||||
Adw.ToolbarView main_toolbar_view {
|
||||
[top]
|
||||
HeaderBar header_bar {
|
||||
show-title-buttons: false;
|
||||
|
||||
[start]
|
||||
Button cancel_button {
|
||||
label: _("Cancel");
|
||||
}
|
||||
|
||||
[end]
|
||||
Button apply_button {
|
||||
label: _("Apply");
|
||||
|
||||
styles [
|
||||
"suggested-action"
|
||||
]
|
||||
}
|
||||
show-title-buttons: true;
|
||||
}
|
||||
|
||||
content: Adw.ToastOverlay toast_overlay {
|
||||
@@ -71,12 +57,12 @@ template $FilterWindow: Adw.Window {
|
||||
}
|
||||
|
||||
Adw.ExpanderRow remotes_expander {
|
||||
enable-expansion: false;
|
||||
enable-expansion: true;
|
||||
title: _("Filter by Remotes");
|
||||
}
|
||||
|
||||
Adw.ExpanderRow runtimes_expander {
|
||||
enable-expansion: false;
|
||||
enable-expansion: true;
|
||||
title: _("Filter by Runtimes");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -178,7 +178,13 @@ template $WarehouseWindow: Adw.ApplicationWindow {
|
||||
Adw.StatusPage no_matches {
|
||||
icon-name: "funnel-symbolic";
|
||||
title: _("No Flatpaks Match Filters");
|
||||
description: _("No installed Flatpak matches any of the currently applied filters");
|
||||
description: _("No installed Flatpak matches all of the currently applied filters");
|
||||
[child]
|
||||
Button reset_filters_button {
|
||||
label: _("Reset Filters");
|
||||
halign: center;
|
||||
styles["pill"]
|
||||
}
|
||||
}
|
||||
|
||||
Adw.StatusPage no_results {
|
||||
|
||||
Reference in New Issue
Block a user