[libnotify] Make actions test more like a real scenario
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libnotify] Make actions test more like a real scenario
- Date: Mon, 15 Nov 2010 19:57:44 +0000 (UTC)
commit 5e9614637d0868e4478603f16afc83fbd7b30d49
Author: William Jon McCann <jmccann redhat com>
Date: Mon Nov 15 14:57:03 2010 -0500
Make actions test more like a real scenario
tests/test-multi-actions.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tests/test-multi-actions.c b/tests/test-multi-actions.c
index f361f79..63f0515 100644
--- a/tests/test-multi-actions.c
+++ b/tests/test-multi-actions.c
@@ -84,7 +84,8 @@ main (int argc, char **argv)
n = notify_notification_new ("Low disk space",
"You can free up some disk space by "
"emptying the trash can.",
- NULL);
+ "drive-harddisk-symbolic");
+ notify_notification_set_hint (n, "transient", g_variant_new_boolean (TRUE));
notify_notification_set_urgency (n, NOTIFY_URGENCY_CRITICAL);
notify_notification_set_timeout (n, NOTIFY_EXPIRES_DEFAULT);
notify_notification_add_action (n,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]