notifications: initial logic for sending action signal

This commit is contained in:
Ian Douglas Scott 2021-09-23 14:42:24 -07:00
parent 94def67e85
commit 13aa62cef8
3 changed files with 31 additions and 4 deletions

View file

@ -35,7 +35,7 @@ impl ObjectImpl for NotificationListInner {
..set_parent(obj);
..connect_row_activated(clone!(@weak obj => move |_, row| {
if let Some(id) = obj.id_for_row(row) {
// TODO
obj.inner().notifications.invoke_action(id, "default");
}
}));
};