aboutsummaryrefslogtreecommitdiff
path: root/src/notifications-interface.c
diff options
context:
space:
mode:
authorJason Conti <jason.conti@gmail.com>2011-05-15 15:56:57 -0400
committerJason Conti <jason.conti@gmail.com>2011-05-15 15:56:57 -0400
commitf055a17dbc1fcd39fc279ce60d65e62268ff30aa (patch)
tree74debd5c6f9c6e3504dd7879d95155b946cc2863 /src/notifications-interface.c
parent239dec68b0e37d20d07af51e4bc21200447b0aaa (diff)
downloadayatana-indicator-notifications-f055a17dbc1fcd39fc279ce60d65e62268ff30aa.tar.gz
ayatana-indicator-notifications-f055a17dbc1fcd39fc279ce60d65e62268ff30aa.tar.bz2
ayatana-indicator-notifications-f055a17dbc1fcd39fc279ce60d65e62268ff30aa.zip
Update indicator icon to unread when a message is received, and to read when the menu is hidden.
Diffstat (limited to 'src/notifications-interface.c')
-rw-r--r--src/notifications-interface.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/notifications-interface.c b/src/notifications-interface.c
index 6326bf2..d130049 100644
--- a/src/notifications-interface.c
+++ b/src/notifications-interface.c
@@ -178,6 +178,12 @@ notifications_interface_finalize(GObject *object)
return;
}
+NotificationsInterface *
+notifications_interface_new()
+{
+ return NOTIFICATIONS_INTERFACE(g_object_new(NOTIFICATIONS_INTERFACE_TYPE, NULL));
+}
+
void
notifications_interface_message_added(NotificationsInterface *self)
{