mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-02-05 07:54:14 +00:00
enshort method name
This commit is contained in:
parent
71a58aa763
commit
0c98b869d3
@ -159,10 +159,10 @@ impl App {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Assign browser window to this application
|
// Assign browser window to this application
|
||||||
browser.widget_gobject().set_application(Some(this));
|
browser.gobject().set_application(Some(this));
|
||||||
|
|
||||||
// Show main widget
|
// Show main widget
|
||||||
browser.widget_gobject().present();
|
browser.gobject().present();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ impl Browser {
|
|||||||
let widget = Arc::new(Widget::new(
|
let widget = Arc::new(Widget::new(
|
||||||
profile_database_connection.clone(),
|
profile_database_connection.clone(),
|
||||||
header.widget(),
|
header.widget(),
|
||||||
window.widget_gobject(),
|
window.gobject(),
|
||||||
));
|
));
|
||||||
|
|
||||||
// Assign actions
|
// Assign actions
|
||||||
@ -280,7 +280,7 @@ impl Browser {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Getters
|
// Getters
|
||||||
pub fn widget_gobject(&self) -> &ApplicationWindow {
|
pub fn gobject(&self) -> &ApplicationWindow {
|
||||||
&self.widget.gobject()
|
&self.widget.gobject()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -86,7 +86,7 @@ impl Window {
|
|||||||
self.tab.page_description()
|
self.tab.page_description()
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn widget_gobject(&self) -> &Box {
|
pub fn gobject(&self) -> &Box {
|
||||||
&self.widget.gobject()
|
&self.widget.gobject()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user