aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/messages-service-dbus.c17
-rw-r--r--src/messages-service-dbus.h4
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