public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Don't save plugins
@ 2001-10-11  7:35 Keith Seitz
  2001-12-07 13:18 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Keith Seitz @ 2001-10-11  7:35 UTC (permalink / raw)
  To: Insight Maling List

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]


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] Don't save plugins
  2001-10-11  7:35 [PATCH] Don't save plugins Keith Seitz
@ 2001-12-07 13:18 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2001-12-07 13:18 UTC (permalink / raw)
  To: Insight Maling List

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]


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-12-07 21:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-11  7:35 [PATCH] Don't save plugins Keith Seitz
2001-12-07 13:18 ` Keith Seitz

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).