fix dup_count indicator

This commit is contained in:
Sascha Kruse 2013-02-22 17:46:12 +00:00
parent f839d0656e
commit bcc0c6621f

View File

@ -428,6 +428,8 @@ void notification_update_text_to_render(notification *n)
buf = g_strdup_printf("(%s%s) %s",
n->actions ? "A" : "",
n->urls ? "U" : "", msg);
} else if (n->dup_count > 0) {
buf = g_strdup_printf("(%d) %s", n->dup_count, msg);
} else {
buf = g_strdup(msg);
}