mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
begin identity dialog implementation
This commit is contained in:
parent
12b4d441ca
commit
14c31734fd
18 changed files with 439 additions and 72 deletions
|
|
@ -16,11 +16,11 @@ impl Widget {
|
|||
let gobject = Button::builder()
|
||||
.icon_name("avatar-default-symbolic")
|
||||
.tooltip_text("Identity")
|
||||
.sensitive(false)
|
||||
//.sensitive(false)
|
||||
.build();
|
||||
|
||||
// Init events @TODO dialog window required
|
||||
// gobject.connect_clicked(move |_| action.auth().activate());
|
||||
gobject.connect_clicked(move |_| action.ident().activate());
|
||||
|
||||
// Return activated `Self`
|
||||
Self { gobject }
|
||||
|
|
@ -28,7 +28,7 @@ impl Widget {
|
|||
|
||||
// Actions
|
||||
pub fn update(&self, is_sensitive: bool) {
|
||||
self.gobject.set_sensitive(is_sensitive);
|
||||
//self.gobject.set_sensitive(is_sensitive);
|
||||
}
|
||||
|
||||
// Getters
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue