naughty: change action markup to emphasize clickability

This commit changes the markup applied to the action description text to
emphasize the fact that the action zone is actually clickable. Bold is
replaced with underline, the Unicode 261B symbol (right pointer) is
added as well.
This commit is contained in:
Jajauma 2016-05-12 00:50:06 +03:00
parent b1dbbb0041
commit 4d7e8c804e
1 changed files with 1 additions and 1 deletions

View File

@ -543,7 +543,7 @@ function naughty.notify(args)
actionmarginbox:set_widget(actiontextbox)
actiontextbox:set_valign("middle")
actiontextbox:set_font(font)
actiontextbox:set_markup(string.format('<b>%s</b>', action))
actiontextbox:set_markup(string.format('☛ <u>%s</u>', action))
-- calculate the height and width
local w, h = actiontextbox:get_preferred_size(s)
local action_height = h + 2 * margin