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 700085 - GActionEntry should have member for attributes
GActionEntry should have member for attributes
Status: RESOLVED OBSOLETE
Product: glib
Classification: Platform
Component: gapplication
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2013-05-10 15:35 UTC by Bastien Nocera
Modified: 2018-05-24 15:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2013-05-10 15:35:27 UTC
If I want to add a number of actions, and make sure they have keyboard shortcuts, I need to have a separate array mapping those, removing any benefits from doing this by hand.

extract_accels_from_menu() and extract_accel_from_menu_item() do most of what we're expected to do without duplicating the mappings.
Comment 1 Allison Karlitskaya (desrt) 2013-05-11 05:35:06 UTC
This is GActionDescription.
Comment 2 Bastien Nocera 2013-05-13 08:11:24 UTC
(In reply to comment #1)
> This is GActionDescription.

is, or will be? Because I can't find any mentions of it in glib master.
Comment 3 Allison Karlitskaya (desrt) 2013-05-13 13:18:33 UTC
Yes.  Will be.
Comment 4 Bastien Nocera 2016-03-21 14:03:16 UTC
I can't find anything about GActionDescription, or a way to add a single accel for an action without creating my own array.
Comment 5 GNOME Infrastructure Team 2018-05-24 15:18:08 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/700.