enshort action namespace

This commit is contained in:
yggverse 2024-11-14 14:33:29 +02:00
parent 03d97da6c7
commit ec95ae2580
7 changed files with 24 additions and 30 deletions

View file

@ -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")