naughty: upgrade to notification spec 1.0 (FS#652)

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
dmitriy 2009-10-07 19:57:01 +02:00 committed by Julien Danjou
parent 2dadce9bdb
commit 9a9c3d12d7
1 changed files with 2 additions and 1 deletions

View File

@ -485,7 +485,7 @@ if capi.dbus then
end end
elseif data.member == "GetServerInfo" or data.member == "GetServerInformation" then elseif data.member == "GetServerInfo" or data.member == "GetServerInformation" then
-- name of notification app, name of vender, version -- name of notification app, name of vender, version
return "s", "naughty", "s", "awesome", "s", capi.awesome.version:match("%d.%d") return "s", "naughty", "s", "awesome", "s", capi.awesome.version:match("%d.%d"), "s", "1.0"
end end
end) end)
@ -520,6 +520,7 @@ if capi.dbus then
<arg name="return_name" type="s" direction="out"/> <arg name="return_name" type="s" direction="out"/>
<arg name="return_vendor" type="s" direction="out"/> <arg name="return_vendor" type="s" direction="out"/>
<arg name="return_version" type="s" direction="out"/> <arg name="return_version" type="s" direction="out"/>
<arg name="return_spec_version" type="s" direction="out"/>
</method> </method>
<method name="GetServerInfo"> <method name="GetServerInfo">
<arg name="return_name" type="s" direction="out"/> <arg name="return_name" type="s" direction="out"/>