mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
rename identity widget
This commit is contained in:
parent
d717c1c246
commit
3e6f95833d
3 changed files with 13 additions and 13 deletions
|
|
@ -4,11 +4,11 @@ use widget::Widget;
|
|||
use crate::app::browser::window::tab::item::Action;
|
||||
use std::rc::Rc;
|
||||
|
||||
pub struct Auth {
|
||||
pub struct Identity {
|
||||
widget: Rc<Widget>,
|
||||
}
|
||||
|
||||
impl Auth {
|
||||
impl Identity {
|
||||
// Construct
|
||||
pub fn new(action: Rc<Action>) -> Self {
|
||||
Self {
|
||||
|
|
@ -18,7 +18,7 @@ impl Auth {
|
|||
|
||||
// Actions
|
||||
pub fn update(&self) {
|
||||
// @TODO
|
||||
self.widget.update(false) // @TODO
|
||||
}
|
||||
|
||||
// Getters
|
||||
|
|
@ -15,7 +15,7 @@ impl Widget {
|
|||
// Init gobject
|
||||
let gobject = Button::builder()
|
||||
.icon_name("avatar-default-symbolic")
|
||||
.tooltip_text("Auth")
|
||||
.tooltip_text("Identity")
|
||||
.sensitive(false)
|
||||
.build();
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue