This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
[RFA] Fix modal dialogs on Windows.
- From: Ian Roxborough <irox at redhat dot com>
- To: insight at sources dot redhat dot com
- Date: Tue, 11 Dec 2001 01:54:33 -0800
- Subject: [RFA] Fix modal dialogs on Windows.
- Organization: Red Hat Inc.
Hi,
this fixes the vanishing modal dialog problems the Windows
user will currently experence with the CVS versions of
Insight. You see the dialog flick on to the screen for
a short time then disappear. (This doesn't fix the Windows
crashing problem.)
Ian.
ChangeLog:
2001-12-11 Ian Roxborough <irox@redhat.com>
* library/managedwin.itb (ManagedWin::_create): When
making a modal window transient, use the source window
as the master and not ".".
Index: managedwin.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/managedwin.itb,v
retrieving revision 1.17
diff -r1.17 managedwin.itb
258c258
< wm transient $top .
---
> wm transient $top [winfo toplevel [namespace tail [lindex [ManagedWin::find SrcWin] 0]]]