fix dup_count indicator
This commit is contained in:
parent
f839d0656e
commit
bcc0c6621f
@ -428,6 +428,8 @@ void notification_update_text_to_render(notification *n)
|
|||||||
buf = g_strdup_printf("(%s%s) %s",
|
buf = g_strdup_printf("(%s%s) %s",
|
||||||
n->actions ? "A" : "",
|
n->actions ? "A" : "",
|
||||||
n->urls ? "U" : "", msg);
|
n->urls ? "U" : "", msg);
|
||||||
|
} else if (n->dup_count > 0) {
|
||||||
|
buf = g_strdup_printf("(%d) %s", n->dup_count, msg);
|
||||||
} else {
|
} else {
|
||||||
buf = g_strdup(msg);
|
buf = g_strdup(msg);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user