* Dump Memory -> Preferences
@ 2001-06-18 2:12 Nicolas Vignal
2001-06-18 10:13 ` Keith Seitz
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Vignal @ 2001-06-18 2:12 UTC (permalink / raw)
To: insight
Hi
The link to see the preferences window when you do a dump memory is broken on
the last snapshots.
Regards
Nicolas
bad window path name "::.memwin0.memwin"
while executing
"winfo rootx $over"
(procedure "center_window" line 6)
invoked from within
"center_window $top -over $over"
(procedure "::ManagedWin::_create" body line 46)
invoked from within
"_create MemPref -over ::.memwin0.memwin -transient -win ::.memwin0.memwin
-size 4 -format x -numbytes 0 -bpr 16 -ascii 1 -ascii_char . -color green"
("eval" body line 1)
invoked from within
"eval _create $class $args"
(procedure "::ManagedWin::_open" body line 17)
invoked from within
"_open MemPref -force -over ::.memwin0.memwin -transient -win
::.memwin0.memwin -size 4 -format x -numbytes 0 -bpr 16 -ascii 1 -ascii_char
. -color gre..."
("eval" body line 1)
invoked from within
"eval _open $class $args"
(procedure "::ManagedWin::open" body line 3)
invoked from within
"ManagedWin::open MemPref -force -over $this -transient -win $this -size
$size -format $format -numbytes $numbytes -bpr $bytes_per_row -ascii $ascii
..."
(object "::.memwin0.memwin" method "::MemWin::create_prefs" body line 9)
invoked from within
"::.memwin0.memwin create_prefs"
invoked from within
".memwin0.#memwin0#memwin#m.#memwin0#memwin#m#addr invoke active"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke active]"
(procedure "tkMenuInvoke" line 29)
invoked from within
"tkMenuInvoke .memwin0.#memwin0#memwin#m.#memwin0#memwin#m#addr 1"
(command bound to event)errorCode is NONE
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Dump Memory -> Preferences
2001-06-18 2:12 Dump Memory -> Preferences Nicolas Vignal
@ 2001-06-18 10:13 ` Keith Seitz
2001-06-19 9:32 ` Nicolas Vignal
0 siblings, 1 reply; 3+ messages in thread
From: Keith Seitz @ 2001-06-18 10:13 UTC (permalink / raw)
To: Nicolas Vignal; +Cc: insight
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} {
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Dump Memory -> Preferences
2001-06-18 10:13 ` Keith Seitz
@ 2001-06-19 9:32 ` Nicolas Vignal
0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Vignal @ 2001-06-19 9:32 UTC (permalink / raw)
To: Keith Seitz; +Cc: insight
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} {
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-06-19 9:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-18 2:12 Dump Memory -> Preferences Nicolas Vignal
2001-06-18 10:13 ` Keith Seitz
2001-06-19 9:32 ` Nicolas Vignal
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).