This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
[PATCH] Don't save plugins
- From: Keith Seitz <keiths at cygnus dot com>
- To: Insight Maling List <insight at sources dot redhat dot com>
- Date: Fri, 7 Dec 2001 13:18:34 -0800 (PST)
- Subject: [PATCH] Don't save plugins
Hi,
We cannot properly re-open plugins if we quit with them open, so until
that is fixed, don't save any plugins into the active window list.
Keith
ChangeLog
2001-12-07 Keith Seitz <keiths@redhat.com>
* library/managedwin.itb (shutdown): Don't save geometry for
plugins, either.
Patch
Index: library/managedwin.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/managedwin.itb,v
retrieving revision 1.20
diff -u -p -r1.20 managedwin.itb
--- managedwin.itb 2001/11/08 18:31:40 1.20
+++ managedwin.itb 2001/12/07 21:17:26
@@ -116,7 +116,7 @@ body ManagedWin::shutdown {} {
set activeWins {}
foreach win [itcl_info objects -isa ManagedWin] {
if {![$win isa ModalDialog] && ![$win isa DebugWin] &&
- ![$win isa DebugWinDOpts]} {
+ ![$win isa DebugWinDOpts] && ![$win isa PluginWindow]} {
set g [wm geometry [winfo toplevel [namespace tail $win]]]
pref setd gdb/geometry/[namespace tail $win] $g
lappend activeWins [$win pickle]