Fixed replacing notification in panel
This commit is contained in:
@@ -104,7 +104,6 @@ namespace SwayNotificatonCenter {
|
|||||||
hints,
|
hints,
|
||||||
expire_timeout);
|
expire_timeout);
|
||||||
|
|
||||||
if (!dbusInit.ccDaemon.get_visibility ()) {
|
|
||||||
if (id == replaces_id) {
|
if (id == replaces_id) {
|
||||||
notiWin.replace_notification (param);
|
notiWin.replace_notification (param);
|
||||||
foreach (NotifyParams n in dbusInit.notifications) {
|
foreach (NotifyParams n in dbusInit.notifications) {
|
||||||
@@ -114,6 +113,7 @@ namespace SwayNotificatonCenter {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!dbusInit.ccDaemon.get_visibility ()) {
|
||||||
notiWin.add_notification (param);
|
notiWin.add_notification (param);
|
||||||
}
|
}
|
||||||
dbusInit.notifications.append (param);
|
dbusInit.notifications.append (param);
|
||||||
|
Reference in New Issue
Block a user