naughty: fix returning correct awesome version
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
e7db0a58ee
commit
894f9c5439
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue