Hi Ralph,
Actually, I don't know if that can happen. And even if the ID is 0, we
should print it anyway, because, as I discovered when I was updating my
scripts, we can then safely write
id=0
while ...; do
...
id=$(notify-send -p -r $id ...)
...
done
which is nice and simple.
Attached is v3 of the patch with the check removed.
** Patch added: "notify-send.c: add --print-id and --replace-id switches,
version 3"
https://bugs.launchpad.net/ubuntu/+source/libnotify/+bug/257135/+attachment/3157602/+files/print-and-replace-id-v3.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/257135
Title:
notify-send(1) can't replace an existing notification
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnotify/+bug/257135/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs