diff options
author | Ted Gould <ted@gould.cx> | 2010-08-03 11:47:45 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-08-03 11:47:45 -0500 |
commit | 456347aada2b1a3466efe6b27bb8ab3541b77f96 (patch) | |
tree | fbd22af733ae450f8cfc297fc5cdcb9a9108acfd /src | |
parent | 17dea0907c51dfb39686f6840a9404467d79db82 (diff) | |
download | libayatana-appindicator-456347aada2b1a3466efe6b27bb8ab3541b77f96.tar.gz libayatana-appindicator-456347aada2b1a3466efe6b27bb8ab3541b77f96.tar.bz2 libayatana-appindicator-456347aada2b1a3466efe6b27bb8ab3541b77f96.zip |
Adding the label property and a signal for it changing.
Diffstat (limited to 'src')
-rw-r--r-- | src/dbus-properties-client.h | 2 | ||||
-rw-r--r-- | src/notification-item.xml | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/dbus-properties-client.h b/src/dbus-properties-client.h index dc9f299..6f08e78 100644 --- a/src/dbus-properties-client.h +++ b/src/dbus-properties-client.h @@ -39,7 +39,7 @@ org_freedesktop_DBus_Properties_get_async_callback (DBusGProxy *proxy, DBusGProx { DBusGAsyncData *data = (DBusGAsyncData*) user_data; GError *error = NULL; - GValue OUT_Value = {0}; + GValue OUT_Value = { 0, }; dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_VALUE, &OUT_Value, G_TYPE_INVALID); (*(org_freedesktop_DBus_Properties_get_reply)data->cb) (proxy, OUT_Value, error, data->userdata); return; diff --git a/src/notification-item.xml b/src/notification-item.xml index a0141c3..cacc6be 100644 --- a/src/notification-item.xml +++ b/src/notification-item.xml @@ -12,6 +12,7 @@ to find the icons specified above. --> <property name="IconThemePath" type="s" access="read" /> <property name="Menu" type="o" access="read" /> + <property name="Label" type="s" access="read" /> <!-- Methods --> <!-- None currently --> @@ -24,6 +25,9 @@ <signal name="NewStatus"> <arg type="s" name="status" direction="out" /> </signal> + <signal name="NewLabel"> + <arg type="s" name="label" direction="out" /> + </signal> </interface> </node> |