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>
|
||||
|
||||
* libnotify/dbus-compat.h:
|
||||
|
|
|
@ -92,7 +92,7 @@ int main()
|
|||
NOTIFY_URGENCY_NORMAL,
|
||||
"Summary", "Content",
|
||||
icon,
|
||||
TRUE, time(NULL) + 5,
|
||||
TRUE, 0,
|
||||
NULL, // no hints
|
||||
NULL, // no user data
|
||||
0); // no actions
|
||||
|
|
|
@ -31,7 +31,7 @@ int main() {
|
|||
NOTIFY_URGENCY_NORMAL,
|
||||
"Summary", "Content",
|
||||
NULL, // no icon
|
||||
TRUE, time(NULL) + 5,
|
||||
TRUE, 0,
|
||||
NULL, // no hints
|
||||
NULL, // no user data
|
||||
0); // no actions
|
||||
|
|
|
@ -33,7 +33,7 @@ int main() {
|
|||
NOTIFY_URGENCY_NORMAL,
|
||||
"Summary", "Content",
|
||||
icon, // no icon
|
||||
TRUE, time(NULL) + 5,
|
||||
TRUE, 0,
|
||||
NULL, // no hints
|
||||
NULL, // no user data
|
||||
0);
|
||||
|
|
|
@ -55,7 +55,7 @@ static void send(char *i, size_t rawlen, char *s, char *b)
|
|||
NOTIFY_URGENCY_NORMAL,
|
||||
s, b,
|
||||
icon,
|
||||
TRUE, time(NULL) + 5,
|
||||
TRUE, 0,
|
||||
NULL, // no hints
|
||||
NULL, // no user data
|
||||
0);
|
||||
|
|
|
@ -34,7 +34,7 @@ int main() {
|
|||
"Some <b>bold</b>, <u>underlined</u>, <i>italic</i>, "
|
||||
"<a href='http://www.google.com'>linked</a> text",
|
||||
NULL, // no icon
|
||||
FALSE, 0,
|
||||
TRUE, 0,
|
||||
NULL, // no hints
|
||||
NULL, // no user data
|
||||
0); // no actions
|
||||
|
|
|
@ -44,7 +44,7 @@ emit_notification(int x, int y)
|
|||
"X, Y Test",
|
||||
buffer,
|
||||
NULL, // no icon
|
||||
TRUE, time(NULL) + 5,
|
||||
TRUE, 0,
|
||||
hints,
|
||||
NULL, // no user data
|
||||
0); // no actions
|
||||
|
|
|
@ -39,7 +39,7 @@ int main() {
|
|||
"X, Y Test",
|
||||
"This notification should point to 150, 10.",
|
||||
NULL, // no icon
|
||||
TRUE, time(NULL) + 5,
|
||||
TRUE, 0,
|
||||
hints,
|
||||
NULL, // no user data
|
||||
0); // no actions
|
||||
|
|
Loading…
Reference in New Issue