aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-08-03 11:47:45 -0500
committerTed Gould <ted@gould.cx>2010-08-03 11:47:45 -0500
commit456347aada2b1a3466efe6b27bb8ab3541b77f96 (patch)
treefbd22af733ae450f8cfc297fc5cdcb9a9108acfd
parent17dea0907c51dfb39686f6840a9404467d79db82 (diff)
downloadayatana-indicator-application-456347aada2b1a3466efe6b27bb8ab3541b77f96.tar.gz
ayatana-indicator-application-456347aada2b1a3466efe6b27bb8ab3541b77f96.tar.bz2
ayatana-indicator-application-456347aada2b1a3466efe6b27bb8ab3541b77f96.zip
Adding the label property and a signal for it changing.
-rw-r--r--src/dbus-properties-client.h2
-rw-r--r--src/notification-item.xml4
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>