Dump Memory -> Preferences
Keith Seitz
keiths@cygnus.com
Mon Jun 18 10:13:00 GMT 2001
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} {
More information about the Insight
mailing list