mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
rename actions
This commit is contained in:
parent
2d08e8386d
commit
313122e5c3
26 changed files with 274 additions and 290 deletions
|
|
@ -11,10 +11,10 @@ pub struct Widget {
|
|||
|
||||
impl Widget {
|
||||
// Construct
|
||||
pub fn new(action_tab_append: SimpleAction) -> Self {
|
||||
pub fn new(action_page_new: SimpleAction) -> Self {
|
||||
// Init additional action group
|
||||
let action_group = SimpleActionGroup::new();
|
||||
action_group.add_action(&action_tab_append);
|
||||
action_group.add_action(&action_page_new);
|
||||
|
||||
// Init gobject
|
||||
let gobject = TabView::new();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue