diff --git a/cosmic-settings/src/pages/desktop/workspaces.rs b/cosmic-settings/src/pages/desktop/workspaces.rs index 97ff824..e19d3d6 100644 --- a/cosmic-settings/src/pages/desktop/workspaces.rs +++ b/cosmic-settings/src/pages/desktop/workspaces.rs @@ -71,7 +71,6 @@ impl page::Page for Page { ) -> Option { Some(vec![ sections.insert(multi_behavior()), - sections.insert(overview_thumbnails()), sections.insert(workspace_orientation()), ]) } @@ -157,29 +156,6 @@ fn multi_behavior() -> Section { }) } -fn overview_thumbnails() -> Section { - Section::default() - .title(fl!("workspaces-overview-thumbnails")) - .descriptions(vec![ - fl!("workspaces-overview-thumbnails", "show-number").into(), - fl!("workspaces-overview-thumbnails", "show-name").into(), - ]) - .view::(|_binder, page, section| { - let descriptions = §ion.descriptions; - settings::view_section(§ion.title) - .add( - settings::item::builder(&*descriptions[0]) - .toggler(page.show_workspace_number, Message::SetShowNumber), - ) - .add( - settings::item::builder(&*descriptions[1]) - .toggler(page.show_workspace_name, Message::SetShowName), - ) - .apply(Element::from) - .map(crate::pages::Message::DesktopWorkspaces) - }) -} - fn workspace_orientation() -> Section { Section::default() .title(fl!("workspaces-orientation"))