This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Dump Memory -> Preferences
- To: Nicolas Vignal <nicolas dot vignal at netline dot fr>
- Subject: Re: Dump Memory -> Preferences
- From: Keith Seitz <keiths at cygnus dot com>
- Date: Mon, 18 Jun 2001 10:13:35 -0700 (PDT)
- cc: <insight at sources dot redhat dot com>
On Mon, 18 Jun 2001, Nicolas Vignal wrote:
> The link to see the preferences window when you do a dump memory is broken on
> the last snapshots.
Indeed! I've just committed this simple patch which will fix the problem.
Thanks for the note.
Keith
2001-06-18 Keith Seitz <keiths@redhat.com>
* library/managedwin.itb (_create): When creating a
window over another, be sure to center on the window,
not the object.
Index: managedwin.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/managedwin.itb,v
retrieving revision 1.14
diff -u -p -r1.14 managedwin.itb
--- managedwin.itb 2001/05/18 22:57:30 1.14
+++ managedwin.itb 2001/06/18 16:59:24
@@ -246,7 +246,7 @@ body ManagedWin::_create { class args }
if {$over != "" || $center} {
# center new window
- center_window $top -over $over
+ center_window $top -over [winfo toplevel [namespace tail $over]]
}
if {$transient} {