feat(ui): Added preferences search
This commit is contained in:
parent
3b8ec10938
commit
9189a6722b
3 changed files with 4 additions and 3 deletions
|
@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- Added game edition switcher
|
- Added game edition switcher
|
||||||
- Added changelog to updated components toast
|
- Added changelog to updated components toast
|
||||||
- Added wine tools to settings
|
- Added wine tools to settings
|
||||||
|
- Added preferences search
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|
|
@ -86,6 +86,7 @@ impl SimpleComponent for AboutDialog {
|
||||||
"<li>Added game edition switcher</li>",
|
"<li>Added game edition switcher</li>",
|
||||||
"<li>Added changelog to updated components toast</li>",
|
"<li>Added changelog to updated components toast</li>",
|
||||||
"<li>Added wine tools to settings</li>",
|
"<li>Added wine tools to settings</li>",
|
||||||
|
"<li>Added preferences search</li>",
|
||||||
"</ul>",
|
"</ul>",
|
||||||
|
|
||||||
"<p>Fixed</p>",
|
"<p>Fixed</p>",
|
||||||
|
|
|
@ -57,11 +57,10 @@ impl SimpleAsyncComponent for PreferencesApp {
|
||||||
preferences_window = adw::PreferencesWindow {
|
preferences_window = adw::PreferencesWindow {
|
||||||
set_title: Some(&tr("preferences")),
|
set_title: Some(&tr("preferences")),
|
||||||
set_default_size: (700, 560),
|
set_default_size: (700, 560),
|
||||||
|
|
||||||
set_hide_on_close: true,
|
set_hide_on_close: true,
|
||||||
set_modal: true,
|
set_modal: true,
|
||||||
|
set_search_enabled: true,
|
||||||
// FIXME: doesn't work for any reason
|
|
||||||
set_search_enabled: false,
|
|
||||||
|
|
||||||
add = model.general.widget(),
|
add = model.general.widget(),
|
||||||
add = model.enhancements.widget(),
|
add = model.enhancements.widget(),
|
||||||
|
|
Loading…
Reference in a new issue