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:
parent
1a5685ee45
commit
dce1830b89
|
@ -400,8 +400,8 @@ function naughty.default_notification_handler(notification, args)
|
|||
local action_width = w + 2 * margin
|
||||
|
||||
actionmarginbox:buttons(gtable.join(
|
||||
button({ }, 1, function() action:trigger() end),
|
||||
button({ }, 3, function() action:trigger() end)
|
||||
button({ }, 1, function() action:invoke() end),
|
||||
button({ }, 3, function() action:invoke() end)
|
||||
))
|
||||
actionslayout:add(actionmarginbox)
|
||||
|
||||
|
|
Loading…
Reference in New Issue