Home GnuPG

gtk2: Simplify focus / default entry management.
ae74440c8a34Unpublished

Unpublished Commit ยท Learn More

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

Description

gtk2: Simplify focus / default entry management.

* gtk+-2/pinentry-gtk-2.c (create_window): Don't have ENTRY or
REPEAT_ENTRY explicitly grab the focus.  The default is fine.  Don't
add the GDK_ENTER_NOTIFY_MASK and GDK_LEAVE_NOTIFY_MASK events to
QUALITYBAR.  Only set GTK_CAN_DEFAULT on the ok button.  In pin entry
mode, make the ok button the default.

Details

Provenance
nealAuthored on Jul 26 2015, 7:29 PM
Parents
rPaf3de269bc0f: gtk2: Have enter in the text entry, send the focus to the repeat entry.
Branches
Unknown
Tags
Unknown