fix(default-apps): add desktop entry
This commit is contained in:
parent
5a7a3c1fa5
commit
818eb24329
8 changed files with 37 additions and 27 deletions
|
|
@ -203,13 +203,7 @@ impl cosmic::Application for SettingsApp {
|
|||
app.insert_page::<input::Page>();
|
||||
app.insert_page::<time::Page>();
|
||||
app.insert_page::<system::Page>();
|
||||
#[cfg(feature = "wayland")]
|
||||
{
|
||||
app.insert_page::<desktop::panel::Page>();
|
||||
app.insert_page::<desktop::dock::Page>();
|
||||
app.insert_page::<desktop::panel::applets_inner::Page>();
|
||||
app.insert_page::<desktop::dock::applets::Page>();
|
||||
}
|
||||
|
||||
let active_id = match flags.sub_command {
|
||||
Some(p) => app.subtask_to_page(&p),
|
||||
None => app
|
||||
|
|
|
|||
|
|
@ -228,7 +228,7 @@ impl Page {
|
|||
space_xxxs,
|
||||
space_xxs,
|
||||
space_xs,
|
||||
space_l,
|
||||
space_s,
|
||||
..
|
||||
} = theme::active().cosmic().spacing;
|
||||
let mut list_column = list_column();
|
||||
|
|
@ -295,7 +295,7 @@ impl Page {
|
|||
.on_press(msg_map(Message::AddApplet(info.clone())))
|
||||
.into(),
|
||||
])
|
||||
.padding([0, space_l])
|
||||
.padding([0, space_s])
|
||||
.spacing(space_xs)
|
||||
.align_y(Alignment::Center),
|
||||
);
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ impl page::Page<crate::pages::Message> for Page {
|
|||
}
|
||||
|
||||
fn info(&self) -> page::Info {
|
||||
page::Info::new("default-apps", "application-default-symbolic")
|
||||
page::Info::new("default-apps", "preferences-default-applications-symbolic")
|
||||
.title(fl!("default-apps"))
|
||||
.description(fl!("default-apps", "desc"))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue