Update notifications icon when dismissed

This commit is contained in:
bleakgrey 2018-04-22 13:33:19 +03:00
parent 01e42cb06b
commit 80b083d6b9
1 changed files with 3 additions and 2 deletions

View File

@ -49,8 +49,9 @@ public class Tootle.NotificationsView : Tootle.AbstractView {
public virtual void on_remove (Widget widget){
if (!(widget is NotificationWidget))
return;
//debug ("removed");
if (view.get_children ().length () <= 1)
image.icon_name = get_icon ();
}
public virtual void on_account_changed (Account? account){