mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
Merge pull request #2740 from Elv13/more_notif_fixes
Fix 2 more notification issues
This commit is contained in:
commit
7b7dcdd87a
2 changed files with 3 additions and 2 deletions
|
@ -9,6 +9,7 @@ if dbus then
|
|||
naughty.dbus = require("naughty.dbus")
|
||||
end
|
||||
|
||||
naughty.action = require("naughty.action")
|
||||
naughty.layout = require("naughty.layout")
|
||||
naughty.notification = require("naughty.notification")
|
||||
|
||||
|
|
|
@ -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 a new issue