OSDN Git Service

* library/srcbar.itcl (constructor): Set the toolbar's initial
authorkseitz <kseitz>
Mon, 4 Jun 2001 17:19:12 +0000 (17:19 +0000)
committerkseitz <kseitz>
Mon, 4 Jun 2001 17:19:12 +0000 (17:19 +0000)
state.

gdb/gdbtk/ChangeLog
gdb/gdbtk/library/srcbar.itcl

index 5032e84..0ffbe38 100644 (file)
@@ -1,5 +1,10 @@
 2001-06-04  Keith Seitz  <keiths@redhat.com>
 
+       * library/srcbar.itcl (constructor): Set the toolbar's initial
+       state.
+
+2001-06-04  Keith Seitz  <keiths@redhat.com>
+
        * library/interface.tcl (gdb_update_hook): Mark as deprecated.
        (gdbtk_update): Dispatch and UpdateEvent, too.
        * library/ehandler.ith (update): New event handler.
index 71728cd..4552067 100644 (file)
@@ -64,6 +64,9 @@ class SrcBar {
     # Pack the toolbar
     pack $Tool -expand 1 -fill both
 
+    # Set the srcbar's initial state
+    enable_ui 2
+
     eval itk_initialize $args
     add_hook gdb_no_inferior_hook "$this enable_ui 2"
     add_hook gdb_trace_find_hook "$this handle_trace_find_hook"