From 344eaf62015d77d1cd6885bda807a2e8fcb16b3b Mon Sep 17 00:00:00 2001 From: Jason Conti Date: Tue, 17 May 2011 16:49:45 -0400 Subject: Checking for, and discarding volume notifications, since they contain no useful information (which is stupid, why can't they provide a summary (Volume Up/Down) and body (Current volume level X%). --- src/notification.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/notification.h') diff --git a/src/notification.h b/src/notification.h index d9a67fe..5fc944a 100644 --- a/src/notification.h +++ b/src/notification.h @@ -45,6 +45,8 @@ struct _NotificationPrivate { gsize body_length; gint expire_timeout; GDateTime *timestamp; + + gboolean is_volume; }; #define NOTIFICATION_GET_PRIVATE(o) \ @@ -59,6 +61,7 @@ const gchar *notification_get_summary(Notification *); const gchar *notification_get_body(Notification *); gint64 notification_get_timestamp(Notification *); gchar *notification_timestamp_for_locale(Notification *); +gboolean notification_is_volume(Notification *); void notification_print(Notification *); G_END_DECLS -- cgit v1.2.3