mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
set buttons action
This commit is contained in:
parent
edb4e6fa0a
commit
1d2be90f8f
5 changed files with 5 additions and 1 deletions
|
|
@ -9,6 +9,7 @@ impl Base {
|
||||||
pub fn new() -> Base {
|
pub fn new() -> Base {
|
||||||
Self {
|
Self {
|
||||||
widget: Button::builder()
|
widget: Button::builder()
|
||||||
|
.action_name("win.tab_page_base")
|
||||||
.icon_name("go-home-symbolic")
|
.icon_name("go-home-symbolic")
|
||||||
.tooltip_text("Base")
|
.tooltip_text("Base")
|
||||||
.sensitive(false)
|
.sensitive(false)
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ impl Bookmark {
|
||||||
pub fn new() -> Bookmark {
|
pub fn new() -> Bookmark {
|
||||||
Self {
|
Self {
|
||||||
widget: Button::builder()
|
widget: Button::builder()
|
||||||
|
.action_name("win.tab_page_bookmark")
|
||||||
.icon_name("starred-symbolic")
|
.icon_name("starred-symbolic")
|
||||||
.tooltip_text("Bookmark")
|
.tooltip_text("Bookmark")
|
||||||
.sensitive(false)
|
.sensitive(false)
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ impl Back {
|
||||||
pub fn new() -> Back {
|
pub fn new() -> Back {
|
||||||
Self {
|
Self {
|
||||||
widget: Button::builder()
|
widget: Button::builder()
|
||||||
|
.action_name("win.tab_page_history_back")
|
||||||
.icon_name("go-previous-symbolic")
|
.icon_name("go-previous-symbolic")
|
||||||
.tooltip_text("Back")
|
.tooltip_text("Back")
|
||||||
.sensitive(false)
|
.sensitive(false)
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ impl Forward {
|
||||||
pub fn new() -> Forward {
|
pub fn new() -> Forward {
|
||||||
Self {
|
Self {
|
||||||
widget: Button::builder()
|
widget: Button::builder()
|
||||||
.icon_name("go-next-symbolic")
|
.action_name("win.tab_page_history_forward")
|
||||||
.tooltip_text("Forward")
|
.tooltip_text("Forward")
|
||||||
.sensitive(false)
|
.sensitive(false)
|
||||||
.build(),
|
.build(),
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ impl Reload {
|
||||||
pub fn new() -> Reload {
|
pub fn new() -> Reload {
|
||||||
Self {
|
Self {
|
||||||
widget: Button::builder()
|
widget: Button::builder()
|
||||||
|
.action_name("win.tab_page_reload")
|
||||||
.icon_name("view-refresh-symbolic")
|
.icon_name("view-refresh-symbolic")
|
||||||
.tooltip_text("Reload")
|
.tooltip_text("Reload")
|
||||||
.sensitive(false)
|
.sensitive(false)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue