Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
wash2 committed Feb 18, 2025
1 parent cd25d9c commit 4186f11
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion examples/applet/src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ impl cosmic::Application for Window {
));
}
Message::PopupCloseRequested(id) => {
dbg!(id, self.dropdown_id);
return cosmic::task::message(cosmic::app::message::destroy_popup::<Window>(id));
}
}
Expand Down
10 changes: 5 additions & 5 deletions examples/application/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,21 +241,21 @@ impl cosmic::Application for App {
{
vec![cosmic::widget::menu::bar(vec![
Tree::with_children(
Element::from(button::text("hiiiiiiiiiiiiiiiiiii 1")),
menu::root("hiiiiiiiiiiiiiiiiiii 1"),
menu::items(
&self.keybinds,
vec![menu::Item::Button("hi", None, Action::Hi)],
),
),
Tree::with_children(
Element::from(button::text("hiiiiiiiiiiiiiiiiii 2")),
menu::root("hiiiiiiiiiiiiiiiiii 2"),
menu::items(
&self.keybinds,
vec![menu::Item::Button("hi 2", None, Action::Hi)],
),
),
Tree::with_children(
Element::from(button::text("hiiiiiiiiiiiiiiiiiiiii 3")),
menu::root("hiiiiiiiiiiiiiiiiiiiii 3"),
menu::items(
&self.keybinds,
vec![
Expand All @@ -265,7 +265,7 @@ impl cosmic::Application for App {
),
),
Tree::with_children(
Element::from(button::text("hi 3")),
menu::root("hi 3"),
menu::items(
&self.keybinds,
vec![
Expand All @@ -276,7 +276,7 @@ impl cosmic::Application for App {
),
),
Tree::with_children(
Element::from(button::text("hi 4")),
menu::root("hi 4"),
menu::items(
&self.keybinds,
vec![
Expand Down

0 comments on commit 4186f11

Please sign in to comment.