public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
From: kbrown@sourceware.org
To: cygwin-apps-cvs@sourceware.org
Subject: [setup - the official Cygwin setup program] branch master, updated. release_2.882-15-gc385393
Date: Tue, 05 Dec 2017 15:51:00 -0000	[thread overview]
Message-ID: <20171205155104.51496.qmail@sourceware.org> (raw)




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=c3853939020aeb5bfc5b4995cd604da4ce3f72cc

commit c3853939020aeb5bfc5b4995cd604da4ce3f72cc
Author: Ken Brown <kbrown@cornell.edu>
Date:   Mon Dec 4 10:53:55 2017 -0500

    Make Enter in the user URL box cause ADD instead of NEXT


Diff:
---
 site.cc |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/site.cc b/site.cc
index 230d82c..a945d28 100644
--- a/site.cc
+++ b/site.cc
@@ -679,7 +679,9 @@ bool SitePage::OnMessageCmd (int id, HWND hwndctl, UINT code)
     {
     case IDC_EDIT_USER_URL:
       {
-	// FIXME: Make Enter here cause an ADD, not a NEXT.
+	// Set the default pushbutton to ADD if the user is entering text.
+	if (code == EN_CHANGE)
+	  SendMessage (GetHWND (), DM_SETDEFID, (WPARAM) IDC_BUTTON_ADD_URL, 0);
 	break;
       }
     case IDC_URL_LIST:


                 reply	other threads:[~2017-12-05 15:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171205155104.51496.qmail@sourceware.org \
    --to=kbrown@sourceware.org \
    --cc=cygwin-apps-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).