Set the second, replaced notification to have a default expiration.
This commit is contained in:
parent
d5bc37978f
commit
0e1236f8c6
|
@ -1,3 +1,8 @@
|
||||||
|
Wed Apr 26 01:07:34 PDT 2006 Christian Hammond <chipx86@chipx86.com>
|
||||||
|
|
||||||
|
* tests/test-replace.c:
|
||||||
|
- Set the second, replaced notification to have a default expiration.
|
||||||
|
|
||||||
Tue Apr 25 23:52:42 PDT 2006 Christian Hammond <chipx86@chipx86.com>
|
Tue Apr 25 23:52:42 PDT 2006 Christian Hammond <chipx86@chipx86.com>
|
||||||
|
|
||||||
* libnotify/Makefile.am:
|
* libnotify/Makefile.am:
|
||||||
|
|
|
@ -29,6 +29,7 @@ int main() {
|
||||||
|
|
||||||
notify_notification_update (n, "Second Summary",
|
notify_notification_update (n, "Second Summary",
|
||||||
"First mesage was replaced", NULL);
|
"First mesage was replaced", NULL);
|
||||||
|
notify_notification_set_timeout (n, NOTIFY_EXPIRES_DEFAULT);
|
||||||
|
|
||||||
if (!notify_notification_show (n, &error)) {
|
if (!notify_notification_show (n, &error)) {
|
||||||
fprintf(stderr, "failed to send notification: %s\n", error->message);
|
fprintf(stderr, "failed to send notification: %s\n", error->message);
|
||||||
|
|
Loading…
Reference in New Issue