From ff0f15f9a01b97b49934e68ba7f6fd292a2e3c2f Mon Sep 17 00:00:00 2001 From: Leon Winter Date: Fri, 19 Dec 2008 11:14:52 +0100 Subject: [PATCH] naughty/GetServerInfo: act according spec Signed-off-by: Julien Danjou --- lib/naughty.lua.in | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/lib/naughty.lua.in b/lib/naughty.lua.in index 60d4e877..407ee4f9 100644 --- a/lib/naughty.lua.in +++ b/lib/naughty.lua.in @@ -439,8 +439,8 @@ elseif data.member == "CloseNotification" then destroy(obj) end elseif data.member == "GetServerInfo" or data.member == "GetServerInformation" then - -- name of notification app, name of project, version of notification app, project version - return "s", "naughty", "s", "awesome", "s", "1337", "s", AWESOME_VERSION + -- name of notification app, name of vender, version + return "s", "naughty", "s", "awesome", "s", AWESOME_VERSION:match("%d.%d") end end) @@ -472,17 +472,15 @@ Introspection 1.0//EN" - - - - + + + - - - - - + + + + ]=] return "s", xml