[Galago-commits] r2537 - in trunk/libnotify: . tests

galago-commits at freedesktop.org galago-commits at freedesktop.org
Sat Feb 4 02:04:29 PST 2006


Author: chipx86
Date: 2006-02-04 02:04:27 -0800 (Sat, 04 Feb 2006)
New Revision: 2537

Modified:
   trunk/libnotify/ChangeLog
   trunk/libnotify/tests/test-urgency.c
Log:
It's a good thing to actually set the urgency levels in the urgency test.


Modified: trunk/libnotify/ChangeLog
===================================================================
--- trunk/libnotify/ChangeLog	2006-02-04 09:49:21 UTC (rev 2536)
+++ trunk/libnotify/ChangeLog	2006-02-04 10:04:27 UTC (rev 2537)
@@ -1,3 +1,9 @@
+Sat Feb 04 02:04:13 PST 2006  Christian Hammond <chipx86 at chipx86.com>
+
+	* tests/test-urgency.c:
+	  - It's a good thing to actually set the urgency levels in the
+	    urgency test.
+
 Sat Feb 04 01:47:00 PST 2006  Christian Hammond <chipx86 at chipx86.com>
 
 	A tests/test-urgency.c:

Modified: trunk/libnotify/tests/test-urgency.c
===================================================================
--- trunk/libnotify/tests/test-urgency.c	2006-02-04 09:49:21 UTC (rev 2536)
+++ trunk/libnotify/tests/test-urgency.c	2006-02-04 10:04:27 UTC (rev 2537)
@@ -31,6 +31,7 @@
 
 	n = notify_notification_new("Low Urgency", "Joe signed online.",
 								NULL, NULL);
+	notify_notification_set_urgency(n, NOTIFY_URGENCY_LOW);
 	if (!notify_notification_show(n, NULL))
 	{
 		fprintf(stderr, "failed to send notification\n");
@@ -43,6 +44,7 @@
 	n = notify_notification_new("Normal Urgency",
 								"You have a meeting in 10 minutes.",
 								NULL, NULL);
+	notify_notification_set_urgency(n, NOTIFY_URGENCY_NORMAL);
 	if (!notify_notification_show(n, NULL))
 	{
 		fprintf(stderr, "failed to send notification\n");
@@ -56,6 +58,7 @@
 								"This message will self-destruct in 10 "
 								"seconds.",
 								NULL, NULL);
+	notify_notification_set_urgency(n, NOTIFY_URGENCY_CRITICAL);
 	notify_notification_set_timeout(n, 10000); // 10 seconds
 
 	if (!notify_notification_show(n, NULL))



More information about the galago-commits mailing list