summaryrefslogtreecommitdiff
path: root/gdb/gdbtk/library/debugwin.ith
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2002-04-24 17:11:19 +0000
committerKeith Seitz <keiths@redhat.com>2002-04-24 17:11:19 +0000
commit49680b9ed04fd423fc95301034a732e84a4caac1 (patch)
treea9985742d22dca231db5e3a7202e1c6fefa7d197 /gdb/gdbtk/library/debugwin.ith
parent388814f946fa55842e6939f8508d16af55f57b78 (diff)
downloadgdb-49680b9ed04fd423fc95301034a732e84a4caac1.tar.gz
* library/managedwin.ith (_ignore_on_save): New protected method.
* library/managedwin.itb (shutdown): If _ignore_on_save, don't save this window to the active window list in the preferences file. * library/debugwin.ith (DebugWin::_ignore_on_save): Don't save this window to preferences active list. (DebugWinDOpts::_ignore_on_save): Likewise. * library/pluginwin.itcl (_ignore_on_save): Likewise. * library/download.ith (_ignore_on_save): Likewise.
Diffstat (limited to 'gdb/gdbtk/library/debugwin.ith')
-rw-r--r--gdb/gdbtk/library/debugwin.ith8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/gdbtk/library/debugwin.ith b/gdb/gdbtk/library/debugwin.ith
index 8ebda346286..9fb164cc72c 100644
--- a/gdb/gdbtk/library/debugwin.ith
+++ b/gdb/gdbtk/library/debugwin.ith
@@ -44,6 +44,10 @@ class DebugWin {
method _save_contents {}
}
+ protected {
+ method _ignore_on_save {} { return 1 }
+ }
+
public {
method constructor {args}
method destructor {}
@@ -75,6 +79,10 @@ class DebugWinDOpts {
method destructor {}
}
+ protected {
+ method _ignore_on_save { return 1 }
+ }
+
private {
variable _classes
method build_win {}