chore(desktop): add desktop entries

This commit is contained in:
git-f0x 2024-08-02 22:42:06 +02:00 • committed by Ashley Wulber
parent 3d75343958
commit 7ad3315df7
7 changed files with 179 additions and 158 deletions

View file

@ -1487,11 +1487,11 @@ pub fn style() -> Section<crate::pages::Message> {
pub fn window_management() -> Section<crate::pages::Message> {
let mut descriptions = Slab::new();
let active_hint = descriptions.insert(fl!("window-management", "active-hint"));
let gaps = descriptions.insert(fl!("window-management", "gaps"));
let active_hint = descriptions.insert(fl!("window-management-appearance", "active-hint"));
let gaps = descriptions.insert(fl!("window-management-appearance", "gaps"));
Section::default()
.title(fl!("window-management"))
.title(fl!("window-management-appearance"))
.descriptions(descriptions)
.view::<Page>(move |_binder, page, section| {
let descriptions = &section.descriptions;