naughty: init preset

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-02-23 15:25:21 +01:00
parent 1e74e61c13
commit 9554536db6
1 changed files with 1 additions and 1 deletions

View File

@ -391,7 +391,7 @@ end
-- Notify -- Notify
if awful.hooks.dbus then if awful.hooks.dbus then
awful.hooks.dbus.register("org.freedesktop.Notifications", function (data, appname, replaces_id, icon, title, text, actions, hints, expire) awful.hooks.dbus.register("org.freedesktop.Notifications", function (data, appname, replaces_id, icon, title, text, actions, hints, expire)
args = {} args = { preset = { } }
if data.member == "Notify" then if data.member == "Notify" then
if text ~= "" then if text ~= "" then
args.text = text args.text = text