Update notifications icon when dismissed
This commit is contained in:
parent
01e42cb06b
commit
80b083d6b9
|
@ -49,8 +49,9 @@ public class Tootle.NotificationsView : Tootle.AbstractView {
|
||||||
public virtual void on_remove (Widget widget){
|
public virtual void on_remove (Widget widget){
|
||||||
if (!(widget is NotificationWidget))
|
if (!(widget is NotificationWidget))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
//debug ("removed");
|
if (view.get_children ().length () <= 1)
|
||||||
|
image.icon_name = get_icon ();
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual void on_account_changed (Account? account){
|
public virtual void on_account_changed (Account? account){
|
||||||
|
|
Loading…
Reference in New Issue