naughty: Fix a rebase mistake when using actions.

Some older revisions called it `trigger` instead of `invoke`.
Apparently some rebase conflicts introduced the old name in
merged code.

See #2729
This commit is contained in:
Emmanuel Lepage Vallee 2019-04-05 22:19:05 -04:00
parent 1a5685ee45
commit dce1830b89
1 changed files with 2 additions and 2 deletions

View File

@ -400,8 +400,8 @@ function naughty.default_notification_handler(notification, args)
local action_width = w + 2 * margin local action_width = w + 2 * margin
actionmarginbox:buttons(gtable.join( actionmarginbox:buttons(gtable.join(
button({ }, 1, function() action:trigger() end), button({ }, 1, function() action:invoke() end),
button({ }, 3, function() action:trigger() end) button({ }, 3, function() action:invoke() end)
)) ))
actionslayout:add(actionmarginbox) actionslayout:add(actionmarginbox)