naughty: fix returning correct awesome version

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Leon Winter 2008-12-19 09:34:55 +01:00 committed by Julien Danjou
parent e7db0a58ee
commit 894f9c5439
1 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ local bt = require("beautiful")
local screen = screen local screen = screen
local awful = awful local awful = awful
local dbus = dbus local dbus = dbus
local AWESOME_VERSION = AWESOME_VERSION
--- Notification library --- Notification library
module("naughty") module("naughty")
@ -439,7 +440,7 @@ elseif data.member == "CloseNotification" 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 project, version of notification app, project version -- name of notification app, name of project, version of notification app, project version
return "s", "naughty", "s", "awesome", "s", AWESOME_VERSION, "s", "1337" return "s", "naughty", "s", "awesome", "s", "1337", "s", AWESOME_VERSION
end end
end) end)