set buttons action

This commit is contained in:
yggverse 2024-09-24 22:29:45 +03:00
parent edb4e6fa0a
commit 1d2be90f8f
5 changed files with 5 additions and 1 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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(),

View File

@ -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)