diff options
author | Jason Conti <jason.conti@gmail.com> | 2012-02-26 11:25:51 -0500 |
---|---|---|
committer | Jason Conti <jason.conti@gmail.com> | 2012-02-26 11:25:51 -0500 |
commit | df8ae866eb73d9f58938e8eb710a3931d6d8b6b7 (patch) | |
tree | 8be6ae658b84f171b0ef3d67e6ace8080391727e /src/indicator-notifications.c | |
parent | bafd8363f436bfd947751c99f5bcd28357c6a60a (diff) | |
download | ayatana-indicator-notifications-df8ae866eb73d9f58938e8eb710a3931d6d8b6b7.tar.gz ayatana-indicator-notifications-df8ae866eb73d9f58938e8eb710a3931d6d8b6b7.tar.bz2 ayatana-indicator-notifications-df8ae866eb73d9f58938e8eb710a3931d6d8b6b7.zip |
* 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.
Diffstat (limited to 'src/indicator-notifications.c')
-rw-r--r-- | src/indicator-notifications.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |