aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-notifications.c
diff options
context:
space:
mode:
authorJason Conti <jason.conti@gmail.com>2012-02-26 11:25:51 -0500
committerJason Conti <jason.conti@gmail.com>2012-02-26 11:25:51 -0500
commiteba6513e679b4ff261d000fc1e288a0275e6d596 (patch)
tree8be6ae658b84f171b0ef3d67e6ace8080391727e /src/indicator-notifications.c
parentc262245cfa2ae7b01e9e95cfe450e4b2c6676e11 (diff)
downloadayatana-indicator-notifications-eba6513e679b4ff261d000fc1e288a0275e6d596.tar.gz
ayatana-indicator-notifications-eba6513e679b4ff261d000fc1e288a0275e6d596.tar.bz2
ayatana-indicator-notifications-eba6513e679b4ff261d000fc1e288a0275e6d596.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.c4
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);