Problem: GTK3: Dialog buttons have no keyboard shortcuts.
Solution: Delete code in dialog_add_buttons() that removes shortcuts specified by callers.
This allows to choose "OK" , "Yes", "No" or "Cancel" buttons using the keyboard (via keyboard shortcuts) in GTK3 dialog popups. It was possible in GTK2 but the current code for GTK3 does not allow this at the moment. The relevant GTK3 code is an adaptation of a GTK2 code but its effect is that it removes shortcuts that are requested by caller functions.
Problem: GTK3: Dialog buttons have no keyboard shortcuts.
Solution: Delete code in dialog_add_buttons() that removes shortcuts
specified by callers.
Signed-off-by: trailer is present (git commit -s), recommended but not requiredruntime/doc/ was updated, or no update is neededOld dialog popup buttons without keyboard shortcuts.
Image: YesNoCancel_old (view on web)
New dialog popup buttons with keyboard shortcuts.
Image: YesNoCancel_new (view on web)
https://github.com/vim/vim/pull/21411
(1 file)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
@nuko8, the deleted lines are yours. To be honest I am not 100% sure I understand what's their purpose other than removing keyboard shortcuts. Was the removal intentional? Are they needed also for "normalization" of names (e.g. "OK" instead of "Ok")?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()