mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-09 23:01:27 +03:00
add logic for fingerprint verification
This commit is contained in:
@@ -21,11 +21,17 @@ impl KeyRow {
|
||||
let mut bindings = self.imp().bindings.borrow_mut();
|
||||
|
||||
let title_binding = key_object
|
||||
.bind_property("fingerprint", self, "title")
|
||||
.bind_property("description", self, "title")
|
||||
.sync_create()
|
||||
.build();
|
||||
|
||||
let subtitle_binding = key_object
|
||||
.bind_property("fingerprint", self, "subtitle")
|
||||
.sync_create()
|
||||
.build();
|
||||
|
||||
bindings.push(title_binding);
|
||||
bindings.push(subtitle_binding);
|
||||
}
|
||||
|
||||
pub fn unbind(&self) {
|
||||
|
||||
Reference in New Issue
Block a user