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]
Other format: [Raw text]

[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]



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