aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-06-12 17:04:48 -0500
committerTed Gould <ted@canonical.com>2009-06-12 17:04:48 -0500
commit094b80fb89c15cc369f4ca50e218cec12efbaadc (patch)
tree6e074607d4546edd25e08e6d68586dd5a4df6ea0 /src
parent9eb765152122a08ddfa95b150d9a7d5c46559356 (diff)
downloadayatana-indicator-session-094b80fb89c15cc369f4ca50e218cec12efbaadc.tar.gz
ayatana-indicator-session-094b80fb89c15cc369f4ca50e218cec12efbaadc.tar.bz2
ayatana-indicator-session-094b80fb89c15cc369f4ca50e218cec12efbaadc.zip
Okay, we need functions as we want a list of icons.
Diffstat (limited to 'src')
-rw-r--r--src/status-service-dbus.c16
-rw-r--r--src/status-service.xml14
2 files changed, 24 insertions, 6 deletions
diff --git a/src/status-service-dbus.c b/src/status-service-dbus.c
index 1eb94ca..9ffc6aa 100644
--- a/src/status-service-dbus.c
+++ b/src/status-service-dbus.c
@@ -9,6 +9,8 @@ static void status_service_dbus_init (StatusServiceDbus *self);
static void status_service_dbus_dispose (GObject *object);
static void status_service_dbus_finalize (GObject *object);
static void _status_service_server_watch (void);
+static void _status_service_server_status_icons (void);
+static void _status_service_server_pretty_user_name (void);
#include "status-service-server.h"
@@ -54,3 +56,17 @@ _status_service_server_watch (void)
return;
}
+
+static void
+_status_service_server_status_icons (void)
+{
+
+ return;
+}
+
+static void
+_status_service_server_pretty_user_name (void)
+{
+
+ return;
+}
diff --git a/src/status-service.xml b/src/status-service.xml
index 189df81..df10859 100644
--- a/src/status-service.xml
+++ b/src/status-service.xml
@@ -2,21 +2,23 @@
<node name="/">
<interface name="com.ubuntu.indicator.status">
-<!-- Properties -->
- <property name="user" type="s" access="read" />
- <property name="status" type="u" access="read" />
-
<!-- Methods -->
<method name="Watch">
<annotation name="org.freedesktop.DBus.GLib.Async" value="true" />
</method>
+ <method name="StatusIcons">
+ <arg type="a(s)" name="icons" direction="out" />
+ </method>
+ <method name="PrettyUserName">
+ <arg type="s" name="name" direction="out" />
+ </method>
<!-- Signals -->
<signal name="UserChanged">
<arg type="s" name="name" direction="out" />
</signal>
- <signal name="StatusChanged">
- <arg type="u" name="status" direction="out" />
+ <signal name="StatusIconsChanged">
+ <arg type="a(s)" name="icons" direction="out" />
</signal>
</interface>