From df8ae866eb73d9f58938e8eb710a3931d6d8b6b7 Mon Sep 17 00:00:00 2001 From: Jason Conti Date: Sun, 26 Feb 2012 11:25:51 -0500 Subject: * Rename notification_is_volume to notification_is_private. * Add filters for indicator-sound and brightness notifications. * Strip whitespace leading and trailing whitespace from the summary and body. --- src/indicator-notifications.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/indicator-notifications.c') diff --git a/src/indicator-notifications.c b/src/indicator-notifications.c index be8fe31..8d9a070 100644 --- a/src/indicator-notifications.c +++ b/src/indicator-notifications.c @@ -573,8 +573,8 @@ message_received_cb(DBusSpy *spy, Notification *note, gpointer user_data) g_return_if_fail(IS_INDICATOR_NOTIFICATIONS(user_data)); IndicatorNotifications *self = INDICATOR_NOTIFICATIONS(user_data); - /* Discard volume notifications */ - if(notification_is_volume(note) || notification_is_empty(note)) + /* Discard useless notifications */ + if(notification_is_private(note) || notification_is_empty(note)) return; GtkWidget *item = new_notification_menuitem(note); -- cgit v1.2.3