VICE svn2rss single commit view

41604 by compyx

Wed, 12 Jan 2022 23:29:06 +0100

Gtk3: Allow setting hotkeys on radio button items, fix event data passed

* Expand item type check to include radio buttons so hotkeys can be assigned.
* Pass the 'resource' member as event data in the accelerator closure when an item is a check item, pass the 'data' member in other cases.

Currently there's a weird issue where triggering a radio button via an accelerator properly triggers the event handler, but inspecting the radio item's "active" property using gtk_check_menu_item_get_active() returns FALSE. When triggering the item via clicking in the menu TRUE is returned as expected.

Changed Files: