From: "Aditya Katti" <AdityaK@KPITCummins.com>
To: <insight@sources.redhat.com>
Subject: Make "Choose Color" dialog a Modal dialog
Date: Fri, 05 Aug 2005 05:19:00 -0000 [thread overview]
Message-ID: <4A1BE23A7B777442B60F4B4916AE0F1306E1C8CE@sohm.kpit.com> (raw)
Hi,
Please find below a patch for Insight (srcpref.itb). Previously multiple "Choose Color" dialogs were being opened. This patch will make "Choose Color" dialog a Modal dialog.
For gdb/gdbtk/ChangeLog:
============================================gdb/gdbtk/ChangeLog===============================================
2005-08-03 Aditya Katti <adityak@kpitcummins.com>
* library/srcpref.itb (_pick): Makes "Choose Color" dialog a Modal dialog
==============================================================================================================
For gdb/gdbtk/library/srcpref.itb:
========================================gdb/gdbtk/library/srcpref.itb=========================================
*** 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 != $color && $new_color != {}} {
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 != $color && $new_color != {}} {
set _new(gdb/src/$tag) $new_color
================================================End Of Patch==================================================
Regards,
Aditya Katti
KPIT Cummins Infosystems Limited
Pune, INDIA
next reply other threads:[~2005-08-05 5:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-05 5:19 Aditya Katti [this message]
2005-08-05 9:48 ` Dave Korn
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=4A1BE23A7B777442B60F4B4916AE0F1306E1C8CE@sohm.kpit.com \
--to=adityak@kpitcummins.com \
--cc=insight@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).