diff options
author | James Booth <boothj5@gmail.com> | 2012-06-28 23:51:49 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-06-28 23:51:49 +0100 |
commit | 0d9cb61bcdd48cc241027b3844e4b3b21b26b1c5 (patch) | |
tree | 8b27b140f7c8a02cd0ca73b29c9c79479ff302aa | |
parent | 54ef09bfbd619cf5d936d27b7ec207744c7f5c04 (diff) | |
download | profani-tty-0d9cb61bcdd48cc241027b3844e4b3b21b26b1c5.tar.gz |
Changed notify urgency
-rw-r--r-- | windows.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/windows.c b/windows.c index 6ccf0ff0..ad0255de 100644 --- a/windows.c +++ b/windows.c @@ -205,15 +205,15 @@ static void _win_notify(char * short_from) NotifyNotification *incoming; incoming = notify_notification_new("Profanity", short_from, NULL); - // set the timeout of the notification to 3 secs - notify_notification_set_timeout(incoming, 3000); + // set the timeout of the notification to 10 secs + notify_notification_set_timeout(incoming, 10000); // set the category so as to tell what kind it is char category[30] = "Incoming message"; notify_notification_set_category(incoming, category); // set the urgency level of the notification - notify_notification_set_urgency (incoming, NOTIFY_URGENCY_CRITICAL); + notify_notification_set_urgency(incoming, NOTIFY_URGENCY_NORMAL); GError *error = NULL; notify_notification_show(incoming, &error); |