diff options
author | Ted Gould <ted@canonical.com> | 2009-06-12 17:04:48 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-06-12 17:04:48 -0500 |
commit | 094b80fb89c15cc369f4ca50e218cec12efbaadc (patch) | |
tree | 6e074607d4546edd25e08e6d68586dd5a4df6ea0 | |
parent | 9eb765152122a08ddfa95b150d9a7d5c46559356 (diff) | |
download | ayatana-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.
-rw-r--r-- | src/status-service-dbus.c | 16 | ||||
-rw-r--r-- | src/status-service.xml | 14 |
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> |