mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
apply rustfmt
This commit is contained in:
parent
e6e81e846a
commit
f8d938a8af
24 changed files with 253 additions and 611 deletions
|
|
@ -1,21 +1,14 @@
|
|||
#[path = "header/subject.rs"] mod subject;
|
||||
#[path = "header/tray.rs"] mod tray;
|
||||
#[path = "header/subject.rs"]
|
||||
mod subject;
|
||||
#[path = "header/tray.rs"]
|
||||
mod tray;
|
||||
|
||||
use gtk::HeaderBar;
|
||||
|
||||
pub fn new() -> HeaderBar
|
||||
{
|
||||
pub fn new() -> HeaderBar {
|
||||
let header = HeaderBar::builder().build();
|
||||
|
||||
header.pack_start(
|
||||
&tray::new()
|
||||
);
|
||||
|
||||
header.set_title_widget(
|
||||
Some(
|
||||
&subject::new()
|
||||
)
|
||||
);
|
||||
|
||||
header.pack_start(&tray::new());
|
||||
header.set_title_widget(Some(&subject::new()));
|
||||
header
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue