rename identity widget

This commit is contained in:
yggverse 2024-11-16 14:52:37 +02:00
parent d717c1c246
commit 3e6f95833d
3 changed files with 13 additions and 13 deletions

View file

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

View file

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