Add configuration and new tab button
This commit is contained in:
parent
4b25e866b5
commit
8566c6f31f
3 changed files with 57 additions and 11 deletions
|
|
@ -11,9 +11,9 @@ use cosmic::{
|
|||
Element,
|
||||
};
|
||||
|
||||
use crate::Message;
|
||||
use crate::{Config, Message};
|
||||
|
||||
pub fn menu_bar<'a>() -> Element<'a, Message> {
|
||||
pub fn menu_bar<'a>(config: &Config) -> Element<'a, Message> {
|
||||
//TODO: port to libcosmic
|
||||
let menu_root = |label| {
|
||||
widget::button(label)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue