mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
create separated structs for subject entity
This commit is contained in:
parent
6f3ad01c35
commit
2c389abdfd
7 changed files with 147 additions and 55 deletions
|
|
@ -8,8 +8,10 @@ pub struct Header {
|
|||
|
||||
impl Header {
|
||||
pub fn new() -> Header {
|
||||
let subject = subject::Subject::new();
|
||||
let tray = tray::new();
|
||||
Self {
|
||||
widget: widget::Header::new(&tray::new(), &subject::new()),
|
||||
widget: widget::Header::new(&tray, subject.widget().gtk()), // @TODO
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue