summaryrefslogtreecommitdiff
path: root/src/themes/coco/coco-theme.c
diff options
context:
space:
mode:
authorIkey Doherty <[email protected]>2016-11-16 17:32:40 +0000
committermonsta <[email protected]>2017-02-14 17:03:17 +0400
commita6ff22d59d93ce06ea6752351f10873ace4a4627 (patch)
tree4672d0c1c51a0f0c79a6d8d41e2c264d93d080ca /src/themes/coco/coco-theme.c
parentbeef437387102e6bcfa2ecc088993c46452bf25e (diff)
downloadmate-notification-daemon-a6ff22d59d93ce06ea6752351f10873ace4a4627.tar.bz2
mate-notification-daemon-a6ff22d59d93ce06ea6752351f10873ace4a4627.tar.xz
daemon: Export the "action-icons" capability to clients
The freedesktop specification states that clients may opt to use named icons instead of textual labels on action buttons. In this instance, the icon name is passed as the 'key' (actions[i+1]) element in the actions data passed to the daemon. For themes to render the icon, they should check the hints passed by the client for a boolean value of "action-icons", and if it is set they should then create an image button based on the key, and not the label. Many applications now make use of action-icons, such as media players, to provide self describing actions with well known icon names, such as playback controls. In the absence of support for action-icons they fallback to less useful buttons and generally less actions. Signed-off-by: Ikey Doherty <[email protected]>
Diffstat (limited to 'src/themes/coco/coco-theme.c')
0 files changed, 0 insertions, 0 deletions