summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryetist <[email protected]>2018-05-08 13:16:58 +0800
committerraveit65 <[email protected]>2018-06-06 17:41:02 +0200
commitf26d490bfe55fe508b46819c41c8557ab3085bb1 (patch)
tree15db83cb60f4564325185471f209632e36b2d0e4
parent4362bc352733b9729b2acd7bf9c4b0991e35fb87 (diff)
downloadmate-notification-daemon-f26d490bfe55fe508b46819c41c8557ab3085bb1.tar.bz2
mate-notification-daemon-f26d490bfe55fe508b46819c41c8557ab3085bb1.tar.xz
Add signals, remove annotation from xml file
-rw-r--r--src/daemon/notificationdaemon.xml15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/daemon/notificationdaemon.xml b/src/daemon/notificationdaemon.xml
index e16979f..9a54bb0 100644
--- a/src/daemon/notificationdaemon.xml
+++ b/src/daemon/notificationdaemon.xml
@@ -3,10 +3,7 @@
<node name="/org/freedesktop/Notifications">
<interface name="org.freedesktop.Notifications">
- <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="NotifyDaemon"/>
<method name="Notify">
- <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="notify_daemon_notify_handler"/>
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<arg type="s" name="app_name" direction="in" />
<arg type="u" name="id" direction="in" />
<arg type="s" name="icon" direction="in" />
@@ -19,22 +16,28 @@
</method>
<method name="CloseNotification">
- <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="notify_daemon_close_notification_handler"/>
<arg type="u" name="id" direction="in" />
</method>
<method name="GetCapabilities">
- <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="notify_daemon_get_capabilities"/>
<arg type="as" name="return_caps" direction="out"/>
</method>
<method name="GetServerInformation">
- <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="notify_daemon_get_server_information"/>
<arg type="s" name="return_name" direction="out"/>
<arg type="s" name="return_vendor" direction="out"/>
<arg type="s" name="return_version" direction="out"/>
<arg type="s" name="return_spec_version" direction="out"/>
</method>
+ <signal name="ActionInvoked">
+ <arg type="u" name="id" />
+ <arg type="s" name="action_key" />
+ </signal>
+
+ <signal name="NotificationClosed">
+ <arg type="u" name="id" />
+ <arg type="u" name="reason" />
+ </signal>
</interface>
</node>