aboutsummaryrefslogtreecommitdiff
path: root/src/notification.h
diff options
context:
space:
mode:
authorJason Conti <jason.conti@gmail.com>2011-05-17 16:49:45 -0400
committerJason Conti <jason.conti@gmail.com>2011-05-17 16:49:45 -0400
commit344eaf62015d77d1cd6885bda807a2e8fcb16b3b (patch)
tree75916781500632364254f39c3a2dfddbbbfd69ec /src/notification.h
parent425bde705a072effe6232cb3fa4fecdcb8849639 (diff)
downloadayatana-indicator-notifications-344eaf62015d77d1cd6885bda807a2e8fcb16b3b.tar.gz
ayatana-indicator-notifications-344eaf62015d77d1cd6885bda807a2e8fcb16b3b.tar.bz2
ayatana-indicator-notifications-344eaf62015d77d1cd6885bda807a2e8fcb16b3b.zip
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%).
Diffstat (limited to 'src/notification.h')
-rw-r--r--src/notification.h3
1 files changed, 3 insertions, 0 deletions
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