mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-03 01:55:27 +00:00
enshort action namespace
This commit is contained in:
parent
03d97da6c7
commit
ec95ae2580
7 changed files with 24 additions and 30 deletions
|
|
@ -1,4 +1,4 @@
|
|||
use crate::app::browser::window::action::Action as WindowAction;
|
||||
use crate::app::browser::window::Action;
|
||||
use gtk::{
|
||||
prelude::{ButtonExt, WidgetExt},
|
||||
Button,
|
||||
|
|
@ -11,7 +11,7 @@ pub struct Widget {
|
|||
|
||||
impl Widget {
|
||||
// Construct
|
||||
pub fn new(action: Rc<WindowAction>) -> Self {
|
||||
pub fn new(action: Rc<Action>) -> Self {
|
||||
// Init gobject
|
||||
let gobject = Button::builder()
|
||||
.icon_name("go-home-symbolic")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue