From 1f999e7c50082eada4dac5ac8bb7ee51ac74661b Mon Sep 17 00:00:00 2001 From: Jason Conti Date: Sun, 15 May 2011 15:56:57 -0400 Subject: Update indicator icon to unread when a message is received, and to read when the menu is hidden. --- src/notifications-interface.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/notifications-interface.c') 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) { -- cgit v1.2.3