Home GnuPG

gtk2: Have enter in the text entry, send the focus to the repeat entry.
af3de269bc0fUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gtk2: Have enter in the text entry, send the focus to the repeat entry.

* gtk+-2/pinentry-gtk-2.c (enter_callback): Rename anentry to
next_widget.  If NEXT_WIDGET is not NULL, send the focus to it.
Otherwise, call button_clicked.
(create_window): Initialize repeat_entry to NULL.  When connecting the
enter_callback entry to REPEAT_ENTRY, set the user data paramter to
NULL.  Connect the entry_callback entry to ENTRY after initializing
REPEAT_ENTRY (if applicable) and set the user data parameter to
REPEAT_ENTRY.

Details

Provenance
nealAuthored on Jul 26 2015, 7:23 PM
Parents
rP5dfb7f566291: gtk2: Simplify: combine confirm_button_clicked and button_clicked.
Branches
Unknown
Tags
Unknown