Add name method for Runnable trait into DetailsNotificationRunnable

This commit is contained in:
Changwan Hong 2016-07-08 19:31:47 +09:00
parent 2d9d47315f
commit de8be94691

View file

@ -90,6 +90,8 @@ pub struct DetailsNotificationRunnable {
}
impl Runnable for DetailsNotificationRunnable {
fn name(&self) -> &'static str { "DetailsNotificationRunnable" }
fn handler(self: Box<DetailsNotificationRunnable>) {
let target = self.element.root();
if target.check_toggle_count(self.toggle_number) {