mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
drop options not in use
This commit is contained in:
parent
6684b09ae2
commit
4370d1d971
8 changed files with 14 additions and 69 deletions
|
|
@ -25,7 +25,6 @@ pub struct Request {
|
|||
impl Request {
|
||||
// Construct
|
||||
pub fn new(
|
||||
text: Option<GString>,
|
||||
// Actions
|
||||
action_update: Arc<SimpleAction>,
|
||||
action_tab_page_navigation_reload: Arc<SimpleAction>, // @TODO local `action_page_open`?
|
||||
|
|
@ -34,10 +33,6 @@ impl Request {
|
|||
let widget = Entry::builder()
|
||||
.placeholder_text("URL or search term...")
|
||||
.hexpand(true)
|
||||
.text(match text {
|
||||
Some(text) => text,
|
||||
None => GString::new(),
|
||||
})
|
||||
.build();
|
||||
|
||||
// Connect events
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue