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,6 +1,6 @@
use gtk::{prelude::ButtonExt, Button};
use crate::app::browser::window::action::Action as WindowAction;
use crate::app::browser::window::Action;
use std::rc::Rc;
const ICON_YES: &str = "starred-symbolic";
@ -13,7 +13,7 @@ pub struct Widget {
impl Widget {
// Constructors
pub fn new(action: Rc<WindowAction>) -> Self {
pub fn new(action: Rc<Action>) -> Self {
// Init gobject
let gobject = Button::builder()
.icon_name(ICON_NON)