From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14124 invoked by alias); 5 Aug 2005 05:19:07 -0000 Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org Received: (qmail 14107 invoked by uid 22791); 5 Aug 2005 05:19:02 -0000 Received: from mail5.kpit.com (HELO sohm.kpit.com) (203.197.93.231) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 05 Aug 2005 05:19:02 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Make "Choose Color" dialog a Modal dialog Date: Fri, 05 Aug 2005 05:19:00 -0000 Message-ID: <4A1BE23A7B777442B60F4B4916AE0F1306E1C8CE@sohm.kpit.com> From: "Aditya Katti" To: X-SW-Source: 2005-q3/txt/msg00050.txt.bz2 Hi, Please find below a patch for Insight (srcpref.itb). Previously multiple "C= hoose Color" dialogs were being opened. This patch will make "Choose Color"= dialog a Modal dialog. For gdb/gdbtk/ChangeLog: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3Dgdb/gdbtk/ChangeLo= g=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 2005-08-03 Aditya Katti * library/srcpref.itb (_pick): Makes "Choose Color" dialog a Modal dialog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D For gdb/gdbtk/library/srcpref.itb: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3Dgdb/gdbtk/library/srcpref.itb= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D *** insight-6.1/gdb/gdbtk/library/srcpref.itb.orig Wed Aug 3 12:37:30 2005 --- insight-6.1/gdb/gdbtk/library/srcpref.itb Wed Aug 3 12:37:52 2005 *************** *** 270,274 **** # ------------------------------------------------------------------ itcl::body SrcPref::_pick {color win tag} { ! set new_color [tk_chooseColor -initialcolor $color -title "Choose color= "] if {$new_color !=3D $color && $new_color !=3D {}} { set _new(gdb/src/$tag) $new_color --- 270,274 ---- # ------------------------------------------------------------------ itcl::body SrcPref::_pick {color win tag} { ! set new_color [tk_chooseColor -initialcolor $color -title "Choose color= " -parent $win] if {$new_color !=3D $color && $new_color !=3D {}} { set _new(gdb/src/$tag) $new_color =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DEnd Of= Patch=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Regards, Aditya Katti KPIT Cummins Infosystems Limited Pune, INDIA