mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
add new tab item action group, delegate history handle to action implementation
This commit is contained in:
parent
5145a53bfa
commit
913030a955
29 changed files with 409 additions and 232 deletions
|
|
@ -2,7 +2,7 @@ mod response;
|
|||
mod sensitive;
|
||||
mod titan;
|
||||
|
||||
use super::TabAction;
|
||||
use super::ItemAction;
|
||||
use adw::Clamp;
|
||||
use gtk::{glib::Uri, prelude::WidgetExt, Box, Label};
|
||||
use response::Response;
|
||||
|
|
@ -52,7 +52,7 @@ impl Input {
|
|||
// Setters
|
||||
pub fn set_new_response(
|
||||
&self,
|
||||
action: Rc<TabAction>,
|
||||
action: Rc<ItemAction>,
|
||||
base: Uri,
|
||||
title: Option<&str>,
|
||||
size_limit: Option<usize>,
|
||||
|
|
@ -64,7 +64,7 @@ impl Input {
|
|||
|
||||
pub fn set_new_sensitive(
|
||||
&self,
|
||||
action: Rc<TabAction>,
|
||||
action: Rc<ItemAction>,
|
||||
base: Uri,
|
||||
title: Option<&str>,
|
||||
max_length: Option<i32>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue