summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>2002-01-03 21:27:31 +0000
committerMartin Hunt <hunt@redhat.com>2002-01-03 21:27:31 +0000
commit6605f6e5e75bfec4053467727695cd72f1432bbe (patch)
treece64b01267b4d186de956fe0a4e337761385f7cf /gdb
parent19132a2b7c9f7d323c04bc8b0fc3bd514f43113d (diff)
downloadgdb-6605f6e5e75bfec4053467727695cd72f1432bbe.tar.gz
2002-01-03 Martin M. Hunt <hunt@redhat.com>
* library/debugwin.itb: Fix incorrect button names so they will be enabled/disabled properly.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/gdbtk/ChangeLog3
-rw-r--r--gdb/gdbtk/library/debugwin.itb6
2 files changed, 6 insertions, 3 deletions
diff --git a/gdb/gdbtk/ChangeLog b/gdb/gdbtk/ChangeLog
index 3597b36f978..4082744dd1a 100644
--- a/gdb/gdbtk/ChangeLog
+++ b/gdb/gdbtk/ChangeLog
@@ -1,5 +1,8 @@
2002-01-03 Martin M. Hunt <hunt@redhat.com>
+ * library/debugwin.itb: Fix incorrect button names
+ so they will be enabled/disabled properly.
+
* library/srctextwin.itb: Set focus on srcwin only
if another window doesn't have the focus.
diff --git a/gdb/gdbtk/library/debugwin.itb b/gdb/gdbtk/library/debugwin.itb
index 4c366e23576..293a045e830 100644
--- a/gdb/gdbtk/library/debugwin.itb
+++ b/gdb/gdbtk/library/debugwin.itb
@@ -420,7 +420,7 @@ body DebugWinDOpts::_all {} {
#enable class buttons
set num 0
foreach class $_classes {
- $itk_interior.f.classes.childsite.$num configure -state normal
+ [$itk_interior.f.classes childsite].$num configure -state normal
incr num
}
}
@@ -430,7 +430,7 @@ body DebugWinDOpts::_all {} {
#enable class buttons
set num 0
foreach class $_classes {
- $itk_interior.f.classes.childsite.$num configure -state normal
+ [$itk_interior.f.classes childsite].$num configure -state normal
incr num
}
}
@@ -440,7 +440,7 @@ body DebugWinDOpts::_all {} {
# disable class buttons
set num 0
foreach class $_classes {
- $itk_interior.f.classes.childsite.$num configure -state disabled
+ [$itk_interior.f.classes childsite].$num configure -state disabled
incr num
}
}