After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 633510 - add ability to use icon action buttons to the spec
add ability to use icon action buttons to the spec
Status: RESOLVED FIXED
Product: libnotify
Classification: Platform
Component: specification
git master
Other Linux
: Normal normal
: ---
Assigned To: William Jon McCann
Depends on:
Blocks: 624584
 
 
Reported: 2010-10-29 21:58 UTC by William Jon McCann
Modified: 2010-11-01 21:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[spec] Add action-icons hint and server capability (1.75 KB, patch)
2010-10-29 22:17 UTC, William Jon McCann
committed Details | Review

Description William Jon McCann 2010-10-29 21:58:35 UTC
It may be desirable to use icons for action buttons instead of just text labels.  An example is a music player that wants to have previous and next buttons.  It might be nice to support using icon names from the icon naming spec.

The spec allows sending two strings for each action.

"Each even element in the list (starting at index 0) represents the identifier for the action. Each odd element in the list is the localized string that will be displayed to the user."

We probably need to use the localized string for a11y purposes so I guess we need to use the action name.  I don't think we can do this unconditionally, however, since some clients may use icon names as action identifiers without realizing it.

I suppose we need to

 * add a server capability
 * add a per notification hint that icon names may be used as action ids
Comment 1 William Jon McCann 2010-10-29 22:17:33 UTC
GNOME Shell is currently using 'x-gnome-icon-buttons' for the server capability.
Comment 2 William Jon McCann 2010-10-29 22:17:57 UTC
Created attachment 173530 [details] [review]
[spec] Add action-icons hint and server capability