chore: link desktop appearance to desktop page
This commit is contained in:
parent
131cf7e8cd
commit
11b6a0713f
2 changed files with 3 additions and 4 deletions
|
|
@ -115,7 +115,7 @@ pub enum Action {
|
||||||
Compress,
|
Compress,
|
||||||
Copy,
|
Copy,
|
||||||
Cut,
|
Cut,
|
||||||
CosmicSettingsAppearance,
|
CosmicSettingsDesktop,
|
||||||
CosmicSettingsDisplays,
|
CosmicSettingsDisplays,
|
||||||
CosmicSettingsWallpaper,
|
CosmicSettingsWallpaper,
|
||||||
DesktopViewOptions,
|
DesktopViewOptions,
|
||||||
|
|
@ -182,7 +182,7 @@ impl Action {
|
||||||
Action::Compress => Message::Compress(entity_opt),
|
Action::Compress => Message::Compress(entity_opt),
|
||||||
Action::Copy => Message::Copy(entity_opt),
|
Action::Copy => Message::Copy(entity_opt),
|
||||||
Action::Cut => Message::Cut(entity_opt),
|
Action::Cut => Message::Cut(entity_opt),
|
||||||
Action::CosmicSettingsAppearance => Message::CosmicSettings("appearance"),
|
Action::CosmicSettingsDesktop => Message::CosmicSettings("desktop"),
|
||||||
Action::CosmicSettingsDisplays => Message::CosmicSettings("displays"),
|
Action::CosmicSettingsDisplays => Message::CosmicSettings("displays"),
|
||||||
Action::CosmicSettingsWallpaper => Message::CosmicSettings("wallpaper"),
|
Action::CosmicSettingsWallpaper => Message::CosmicSettings("wallpaper"),
|
||||||
Action::Delete => Message::Delete(entity_opt),
|
Action::Delete => Message::Delete(entity_opt),
|
||||||
|
|
|
||||||
|
|
@ -262,8 +262,7 @@ pub fn context_menu<'a>(
|
||||||
menu_item(fl!("change-wallpaper"), Action::CosmicSettingsWallpaper).into(),
|
menu_item(fl!("change-wallpaper"), Action::CosmicSettingsWallpaper).into(),
|
||||||
);
|
);
|
||||||
children.push(
|
children.push(
|
||||||
menu_item(fl!("desktop-appearance"), Action::CosmicSettingsAppearance)
|
menu_item(fl!("desktop-appearance"), Action::CosmicSettingsDesktop).into(),
|
||||||
.into(),
|
|
||||||
);
|
);
|
||||||
children.push(
|
children.push(
|
||||||
menu_item(fl!("display-settings"), Action::CosmicSettingsDisplays).into(),
|
menu_item(fl!("display-settings"), Action::CosmicSettingsDisplays).into(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue