From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 840 invoked by alias); 9 May 2002 16:53:01 -0000 Mailing-List: contact insight-prs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-prs-owner@sources.redhat.com Received: (qmail 825 invoked by uid 71); 9 May 2002 16:53:01 -0000 Resent-Date: 9 May 2002 16:53:01 -0000 Resent-Message-ID: <20020509165301.824.qmail@sources.redhat.com> Resent-From: insight-gnats@sources.redhat.com (GNATS Filer) Resent-To: nobody@sources.redhat.com Resent-Cc: insight-prs@sources.redhat.com Resent-Reply-To: insight-gnats@sources.redhat.com, craig@triscend.com Received:(qmail 28154 invoked by uid 61); 9 May 2002 16:45:43 -0000 Message-Id:<20020509164543.28152.qmail@sources.redhat.com> Date: Thu, 09 May 2002 09:53:00 -0000 From: craig@triscend.com Reply-To: craig@triscend.com To: insight-gnats@sources.redhat.com X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: insight/156: Pressing for the OK/Cancel button on the download status dialog has no effect X-SW-Source: 2002-q2/txt/msg00026.txt.bz2 List-Id: >Number: 156 >Category: insight >Synopsis: Pressing 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 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 to cancel or OK the dialog. >Fix: The attached patch binds 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 \ + "$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