diff options
author | Ted Gould <ted@canonical.com> | 2009-08-26 09:20:34 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-08-26 09:20:34 -0500 |
commit | 4b1b97c765557715451b16aa9c409e1539050b9f (patch) | |
tree | 7b84abfd9437dfe673687472d1750ae3406ff484 | |
parent | 9efbade0a88f7ebce9ceb8d06293b1d636d02672 (diff) | |
download | ayatana-indicator-messages-4b1b97c765557715451b16aa9c409e1539050b9f.tar.gz ayatana-indicator-messages-4b1b97c765557715451b16aa9c409e1539050b9f.tar.bz2 ayatana-indicator-messages-4b1b97c765557715451b16aa9c409e1539050b9f.zip |
Adding the basic set functions into the C files.
-rw-r--r-- | src/messages-service-dbus.c | 17 | ||||
-rw-r--r-- | src/messages-service-dbus.h | 4 |
2 files changed, 19 insertions, 2 deletions
diff --git a/src/messages-service-dbus.c b/src/messages-service-dbus.c index da91af5..8d0d5e7 100644 --- a/src/messages-service-dbus.c +++ b/src/messages-service-dbus.c @@ -112,3 +112,20 @@ _messages_service_server_icon_shown (MessageServiceDbus * self, gboolean * hidde return TRUE; } +void +message_server_dbus_set_attention (MessageServiceDbus * self, gboolean attention) +{ + MessageServiceDbusPrivate * priv = MESSAGE_SERVICE_DBUS_GET_PRIVATE(self); + /* Do signal */ + priv->dot = attention; + return; +} + +void +message_server_dbus_set_icon (MessageServiceDbus * self, gboolean hidden) +{ + MessageServiceDbusPrivate * priv = MESSAGE_SERVICE_DBUS_GET_PRIVATE(self); + /* Do signal */ + priv->hidden = hidden; + return; +} diff --git a/src/messages-service-dbus.h b/src/messages-service-dbus.h index 26035b7..1075eb4 100644 --- a/src/messages-service-dbus.h +++ b/src/messages-service-dbus.h @@ -32,8 +32,8 @@ struct _MessageServiceDbus { GType message_service_dbus_get_type (void); MessageServiceDbus * message_service_dbus_new (void); -void message_service_dbus_set_attention (gboolean attention); -void message_service_dbus_set_icon (gboolean hidden); +void message_server_dbus_set_attention (MessageServiceDbus * self, gboolean attention); +void message_server_dbus_set_icon (MessageServiceDbus * self, gboolean hidden); G_END_DECLS |