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 awful = awful
|
||||
local dbus = dbus
|
||||
local AWESOME_VERSION = AWESOME_VERSION
|
||||
|
||||
--- Notification library
|
||||
module("naughty")
|
||||
|
@ -439,7 +440,7 @@ elseif data.member == "CloseNotification" then
|
|||
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", AWESOME_VERSION, "s", "1337"
|
||||
return "s", "naughty", "s", "awesome", "s", "1337", "s", AWESOME_VERSION
|
||||
end
|
||||
end)
|
||||
|
||||
|
|
Loading…
Reference in New Issue