public inbox for insight-prs@sourceware.org
help / color / mirror / Atom feed
From: craig@triscend.com
To: insight-gnats@sources.redhat.com
Subject: insight/156: Pressing <RETURN> for the OK/Cancel button on the download status dialog has no effect
Date: Thu, 09 May 2002 09:53:00 -0000	[thread overview]
Message-ID: <20020509164543.28152.qmail@sources.redhat.com> (raw)


>Number:         156
>Category:       insight
>Synopsis:       Pressing <RETURN> for the OK/Cancel button on the download status dialog has no effect
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 09 09:53:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     craig@triscend.com
>Release:        unknown-1.0
>Organization:
>Environment:
Windows 2000/Cygwin & Linux.
>Description:
When the download status dialog is displayed, pressing <Return> to select the cancel or OK button has no effect.
>How-To-Repeat:
Connect and download to target with the 'Display Download Dialog' option selected, during or after download press <RETURN> to cancel or OK the dialog.
>Fix:
The attached patch binds <RETURN> to the dialog button and gives the OK/Cancel button focus.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="download.itb.pat"
Content-Disposition: inline; filename="download.itb.pat"

Index: download.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/download.itb,v
retrieving revision 1.7
diff -c -p -r1.7 download.itb
*** download.itb	5 Apr 2002 02:16:22 -0000	1.7
--- download.itb	9 May 2002 16:40:07 -0000
*************** body Download::constructor {args} {
*** 43,48 ****
--- 43,53 ----
    button $itk_interior.cancel -text Cancel -command "$this cancel" \
      -state active -width 10
  
+   bind $itk_interior.cancel <Return> \
+     "$itk_interior.cancel flash; $itk_interior.cancel invoke"
+ 
+   focus $itk_interior.cancel
+ 
    pack $itk_interior.dload -padx 5 -pady 5 -side top -fill x -expand yes
    pack $itk_interior.stat -padx 5 -pady 5 -expand yes
    pack $itk_interior.f -padx 5 -pady 5 -fill x -expand yes



                 reply	other threads:[~2002-05-09 16:53 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=20020509164543.28152.qmail@sources.redhat.com \
    --to=craig@triscend.com \
    --cc=insight-gnats@sources.redhat.com \
    /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).