This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Dump Memory -> Preferences
- To: Keith Seitz <keiths at cygnus dot com>
- Subject: Re: Dump Memory -> Preferences
- From: Nicolas Vignal <nicolas dot vignal at netline dot fr>
- Date: Tue, 19 Jun 2001 18:30:09 +0200
- Cc: <insight at sources dot redhat dot com>
- References: <Pine.GSO.4.33.0106181000230.12952-100000@makita.cygnus.com>
Works fine for me
Thanks a lot
Regards
Nicolas
On Monday 18 June 2001 19:13, Keith Seitz wrote:
> 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} {