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,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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue