aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1994-11-28 18:20:21 +0000
committerStu Grossman <grossman@cygnus>1994-11-28 18:20:21 +0000
commit04576ab6ccc7fa996ddc18e1d931f36e175deb44 (patch)
tree037a82f77a035be160c1bf2df1308db4ecfa2393
parentc981300c380ac3a492771e444fb8b519ec5714a3 (diff)
downloadgdb-04576ab6ccc7fa996ddc18e1d931f36e175deb44.zip
gdb-04576ab6ccc7fa996ddc18e1d931f36e175deb44.tar.gz
gdb-04576ab6ccc7fa996ddc18e1d931f36e175deb44.tar.bz2
* gdbtk.tcl (build_framework): Fix bug with setting window titles.
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/gdbtk.tcl2
2 files changed, 3 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8c57e47..815fd91 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,7 @@
Mon Nov 28 09:17:20 1994 Stu Grossman (grossman@cygnus.com)
+ * gdbtk.tcl (build_framework): Fix bug with setting window titles.
+
* gdbtk.tcl (build_framework): Add "Report bug" to help menu.
* gdbtk.tcl: Re-arrange windows using new, consistent layout. Clean
diff --git a/gdb/gdbtk.tcl b/gdb/gdbtk.tcl
index 0fb38d9..6ad1735 100644
--- a/gdb/gdbtk.tcl
+++ b/gdb/gdbtk.tcl
@@ -1318,7 +1318,7 @@ button .files -text Files -command files_command
proc build_framework {win {title GDBtk} {label {}}} {
toplevel ${win}
- wm title .src $title
+ wm title ${win} $title
wm minsize ${win} 1 1
frame ${win}.menubar