mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-02-10 10:24:13 +00:00
set buttons action
This commit is contained in:
parent
edb4e6fa0a
commit
1d2be90f8f
@ -9,6 +9,7 @@ impl Base {
|
||||
pub fn new() -> Base {
|
||||
Self {
|
||||
widget: Button::builder()
|
||||
.action_name("win.tab_page_base")
|
||||
.icon_name("go-home-symbolic")
|
||||
.tooltip_text("Base")
|
||||
.sensitive(false)
|
||||
|
@ -9,6 +9,7 @@ impl Bookmark {
|
||||
pub fn new() -> Bookmark {
|
||||
Self {
|
||||
widget: Button::builder()
|
||||
.action_name("win.tab_page_bookmark")
|
||||
.icon_name("starred-symbolic")
|
||||
.tooltip_text("Bookmark")
|
||||
.sensitive(false)
|
||||
|
@ -9,6 +9,7 @@ impl Back {
|
||||
pub fn new() -> Back {
|
||||
Self {
|
||||
widget: Button::builder()
|
||||
.action_name("win.tab_page_history_back")
|
||||
.icon_name("go-previous-symbolic")
|
||||
.tooltip_text("Back")
|
||||
.sensitive(false)
|
||||
|
@ -9,7 +9,7 @@ impl Forward {
|
||||
pub fn new() -> Forward {
|
||||
Self {
|
||||
widget: Button::builder()
|
||||
.icon_name("go-next-symbolic")
|
||||
.action_name("win.tab_page_history_forward")
|
||||
.tooltip_text("Forward")
|
||||
.sensitive(false)
|
||||
.build(),
|
||||
|
@ -9,6 +9,7 @@ impl Reload {
|
||||
pub fn new() -> Reload {
|
||||
Self {
|
||||
widget: Button::builder()
|
||||
.action_name("win.tab_page_reload")
|
||||
.icon_name("view-refresh-symbolic")
|
||||
.tooltip_text("Reload")
|
||||
.sensitive(false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user