cleanup
This commit is contained in:
parent
1fe79b727b
commit
add66a6424
2 changed files with 5 additions and 6 deletions
|
|
@ -135,7 +135,6 @@ impl cosmic::Application for Window {
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
Message::PopupCloseRequested(id) => {
|
Message::PopupCloseRequested(id) => {
|
||||||
dbg!(id, self.dropdown_id);
|
|
||||||
return cosmic::task::message(cosmic::app::message::destroy_popup::<Window>(id));
|
return cosmic::task::message(cosmic::app::message::destroy_popup::<Window>(id));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -241,21 +241,21 @@ impl cosmic::Application for App {
|
||||||
{
|
{
|
||||||
vec![cosmic::widget::menu::bar(vec![
|
vec![cosmic::widget::menu::bar(vec![
|
||||||
Tree::with_children(
|
Tree::with_children(
|
||||||
Element::from(button::text("hiiiiiiiiiiiiiiiiiii 1")),
|
menu::root("hiiiiiiiiiiiiiiiiiii 1"),
|
||||||
menu::items(
|
menu::items(
|
||||||
&self.keybinds,
|
&self.keybinds,
|
||||||
vec![menu::Item::Button("hi", None, Action::Hi)],
|
vec![menu::Item::Button("hi", None, Action::Hi)],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Tree::with_children(
|
Tree::with_children(
|
||||||
Element::from(button::text("hiiiiiiiiiiiiiiiiii 2")),
|
menu::root("hiiiiiiiiiiiiiiiiii 2"),
|
||||||
menu::items(
|
menu::items(
|
||||||
&self.keybinds,
|
&self.keybinds,
|
||||||
vec![menu::Item::Button("hi 2", None, Action::Hi)],
|
vec![menu::Item::Button("hi 2", None, Action::Hi)],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Tree::with_children(
|
Tree::with_children(
|
||||||
Element::from(button::text("hiiiiiiiiiiiiiiiiiiiii 3")),
|
menu::root("hiiiiiiiiiiiiiiiiiiiii 3"),
|
||||||
menu::items(
|
menu::items(
|
||||||
&self.keybinds,
|
&self.keybinds,
|
||||||
vec![
|
vec![
|
||||||
|
|
@ -265,7 +265,7 @@ impl cosmic::Application for App {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Tree::with_children(
|
Tree::with_children(
|
||||||
Element::from(button::text("hi 3")),
|
menu::root("hi 3"),
|
||||||
menu::items(
|
menu::items(
|
||||||
&self.keybinds,
|
&self.keybinds,
|
||||||
vec![
|
vec![
|
||||||
|
|
@ -276,7 +276,7 @@ impl cosmic::Application for App {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Tree::with_children(
|
Tree::with_children(
|
||||||
Element::from(button::text("hi 4")),
|
menu::root("hi 4"),
|
||||||
menu::items(
|
menu::items(
|
||||||
&self.keybinds,
|
&self.keybinds,
|
||||||
vec![
|
vec![
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue