Update dependencies
This commit is contained in:
parent
907410fab9
commit
bc0898fa0a
3 changed files with 100 additions and 97 deletions
|
|
@ -644,7 +644,7 @@ impl Application for App {
|
|||
});
|
||||
let config_subscription = cosmic_config::config_subscription::<_, CosmicWorkspacesConfig>(
|
||||
"config-sub",
|
||||
"com.system76.CosmicComp".into(),
|
||||
"com.system76.CosmicWorkspaces".into(),
|
||||
1,
|
||||
)
|
||||
.map(|(_, res)| match res {
|
||||
|
|
|
|||
|
|
@ -87,6 +87,7 @@ pub(crate) fn workspace_item<'a>(
|
|||
let image = capture_image(workspace.img_for_output.get(output));
|
||||
column![
|
||||
close_button(Msg::CloseWorkspace(workspace.handle.clone())),
|
||||
// TODO editable name?
|
||||
widget::button(column![image, widget::text(&workspace.name)])
|
||||
.selected(workspace.is_active)
|
||||
.style(cosmic::theme::Button::Image)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue