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:
parent
b1dbbb0041
commit
4d7e8c804e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue