This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Dump Memory -> Preferences



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} {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]