mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
highlight ident button on active auth session, disable on auth unsupported
This commit is contained in:
parent
3064b530ea
commit
5d01786596
4 changed files with 32 additions and 9 deletions
|
|
@ -30,4 +30,10 @@ impl Ident {
|
|||
pub fn connect_activate(&self, callback: impl Fn() + 'static) {
|
||||
self.gobject.connect_activate(move |_, _| callback());
|
||||
}
|
||||
|
||||
// Getters
|
||||
|
||||
pub fn gobject(&self) -> &SimpleAction {
|
||||
&self.gobject
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue