Actually support our own spec and use the number of seconds until expiration instead of current time + number of seconds. That was creating all kinds of problems.
This commit is contained in:
parent
430eb532df
commit
56cdbb7087
13
ChangeLog
13
ChangeLog
|
@ -1,3 +1,16 @@
|
||||||
|
Wed Jul 27 00:51:58 PDT 2005 Christian Hammond <chipx86@chipx86.com>
|
||||||
|
|
||||||
|
* tests/test-animation.c:
|
||||||
|
* tests/test-basic.c:
|
||||||
|
* tests/test-error.c:
|
||||||
|
* tests/test-image.c:
|
||||||
|
* tests/test-markup.c:
|
||||||
|
* tests/test-xy.c:
|
||||||
|
* tests/test-xy-stress.c:
|
||||||
|
- Actually support our own spec and use the number of seconds until
|
||||||
|
expiration instead of current time + number of seconds. That was
|
||||||
|
creating all kinds of problems.
|
||||||
|
|
||||||
Wed Jul 27 00:31:47 PDT 2005 Christian Hammond <chipx86@chipx86.com>
|
Wed Jul 27 00:31:47 PDT 2005 Christian Hammond <chipx86@chipx86.com>
|
||||||
|
|
||||||
* libnotify/dbus-compat.h:
|
* libnotify/dbus-compat.h:
|
||||||
|
|
|
@ -92,7 +92,7 @@ int main()
|
||||||
NOTIFY_URGENCY_NORMAL,
|
NOTIFY_URGENCY_NORMAL,
|
||||||
"Summary", "Content",
|
"Summary", "Content",
|
||||||
icon,
|
icon,
|
||||||
TRUE, time(NULL) + 5,
|
TRUE, 0,
|
||||||
NULL, // no hints
|
NULL, // no hints
|
||||||
NULL, // no user data
|
NULL, // no user data
|
||||||
0); // no actions
|
0); // no actions
|
||||||
|
|
|
@ -31,7 +31,7 @@ int main() {
|
||||||
NOTIFY_URGENCY_NORMAL,
|
NOTIFY_URGENCY_NORMAL,
|
||||||
"Summary", "Content",
|
"Summary", "Content",
|
||||||
NULL, // no icon
|
NULL, // no icon
|
||||||
TRUE, time(NULL) + 5,
|
TRUE, 0,
|
||||||
NULL, // no hints
|
NULL, // no hints
|
||||||
NULL, // no user data
|
NULL, // no user data
|
||||||
0); // no actions
|
0); // no actions
|
||||||
|
|
|
@ -33,7 +33,7 @@ int main() {
|
||||||
NOTIFY_URGENCY_NORMAL,
|
NOTIFY_URGENCY_NORMAL,
|
||||||
"Summary", "Content",
|
"Summary", "Content",
|
||||||
icon, // no icon
|
icon, // no icon
|
||||||
TRUE, time(NULL) + 5,
|
TRUE, 0,
|
||||||
NULL, // no hints
|
NULL, // no hints
|
||||||
NULL, // no user data
|
NULL, // no user data
|
||||||
0);
|
0);
|
||||||
|
|
|
@ -55,7 +55,7 @@ static void send(char *i, size_t rawlen, char *s, char *b)
|
||||||
NOTIFY_URGENCY_NORMAL,
|
NOTIFY_URGENCY_NORMAL,
|
||||||
s, b,
|
s, b,
|
||||||
icon,
|
icon,
|
||||||
TRUE, time(NULL) + 5,
|
TRUE, 0,
|
||||||
NULL, // no hints
|
NULL, // no hints
|
||||||
NULL, // no user data
|
NULL, // no user data
|
||||||
0);
|
0);
|
||||||
|
|
|
@ -34,7 +34,7 @@ int main() {
|
||||||
"Some <b>bold</b>, <u>underlined</u>, <i>italic</i>, "
|
"Some <b>bold</b>, <u>underlined</u>, <i>italic</i>, "
|
||||||
"<a href='http://www.google.com'>linked</a> text",
|
"<a href='http://www.google.com'>linked</a> text",
|
||||||
NULL, // no icon
|
NULL, // no icon
|
||||||
FALSE, 0,
|
TRUE, 0,
|
||||||
NULL, // no hints
|
NULL, // no hints
|
||||||
NULL, // no user data
|
NULL, // no user data
|
||||||
0); // no actions
|
0); // no actions
|
||||||
|
|
|
@ -44,7 +44,7 @@ emit_notification(int x, int y)
|
||||||
"X, Y Test",
|
"X, Y Test",
|
||||||
buffer,
|
buffer,
|
||||||
NULL, // no icon
|
NULL, // no icon
|
||||||
TRUE, time(NULL) + 5,
|
TRUE, 0,
|
||||||
hints,
|
hints,
|
||||||
NULL, // no user data
|
NULL, // no user data
|
||||||
0); // no actions
|
0); // no actions
|
||||||
|
|
|
@ -39,7 +39,7 @@ int main() {
|
||||||
"X, Y Test",
|
"X, Y Test",
|
||||||
"This notification should point to 150, 10.",
|
"This notification should point to 150, 10.",
|
||||||
NULL, // no icon
|
NULL, // no icon
|
||||||
TRUE, time(NULL) + 5,
|
TRUE, 0,
|
||||||
hints,
|
hints,
|
||||||
NULL, // no user data
|
NULL, // no user data
|
||||||
0); // no actions
|
0); // no actions
|
||||||
|
|
Loading…
Reference in New Issue