This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Display title above enabled check box in breakpoint window



	The breakpoint windows does not display a title above the
	enabled check box column. The patch below adds a title 'Enabled'.

2002-05-06	Craig Hackney	<craig@triscend.com>

	* bpwin.itb (BpWin::build_win): Added "Enabled" title above
	enabled check box column.

Index: bpwin.itb
===================================================================
RCS file: /cvs/src/gdb/gdbtk/library/bpwin.itb,v
retrieving revision 1.13
diff -c -p -r1.13 bpwin.itb
*** bpwin.itb	14 Mar 2002 17:12:10 -0000	1.13
--- bpwin.itb	6 May 2002 17:37:10 -0000
*************** body BpWin::build_win {} {
*** 74,79 ****
--- 74,81 ----
    } 
    label $twin.thread0 -text "Thread" -relief raised -bd 2 -anchor center \
      -font global/fixed
+   label $twin.enabled0 -text "Enabled" -relief raised -bd 2 -anchor center
\
+     -font global/fixed
    label $twin.addr0 -text "Address" -relief raised -bd 2 -anchor center \
      -font global/fixed
    label $twin.file0 -text "File" -relief raised -bd 2 -anchor center \
*************** body BpWin::build_win {} {
*** 86,101 ****
    if {$tracepoints} {
      label $twin.pass0 -text "PassCount" -relief raised -borderwidth 2 \
        -anchor center -font global/fixed
!     grid x $twin.num0 $twin.addr0 $twin.file0 $twin.line0 $twin.func0
$twin.pass0 \
        -sticky new
    } else {
      if {$show_threads} {
!       grid x $twin.thread0 $twin.addr0 $twin.file0 $twin.line0 $twin.func0
-sticky new
        # Let the File and Function columns expand; no others.
        grid columnconfigure $twin 3 -weight 1
        grid columnconfigure $twin 5 -weight 1
      } else {
!       grid x $twin.addr0 $twin.file0 $twin.line0 $twin.func0 -sticky new
        # Let the File and Function columns expand; no others.
        grid columnconfigure $twin 2 -weight 1
        grid columnconfigure $twin 4 -weight 1
--- 88,103 ----
    if {$tracepoints} {
      label $twin.pass0 -text "PassCount" -relief raised -borderwidth 2 \
        -anchor center -font global/fixed
!     grid $twin.enabled0 $twin.num0 $twin.addr0 $twin.file0 $twin.line0
$twin.func0 $twin.pass0 \
        -sticky new
    } else {
      if {$show_threads} {
!       grid $twin.enabled0 $twin.thread0 $twin.addr0 $twin.file0
$twin.line0 $twin.func0 -sticky new
        # Let the File and Function columns expand; no others.
        grid columnconfigure $twin 3 -weight 1
        grid columnconfigure $twin 5 -weight 1
      } else {
!       grid $twin.enabled0 $twin.addr0 $twin.file0 $twin.line0 $twin.func0
-sticky new
        # Let the File and Function columns expand; no others.
        grid columnconfigure $twin 2 -weight 1
        grid columnconfigure $twin 4 -weight 1



----------------------------------------------------------------------
            
       /\    Craig Hackney                     TEL: 650-968-8668 x171
    /\/  \   Triscend Corporation              FAX: 650-934-9393
 /\/ /    \  301 North Whisman Road         mailto:craig@triscend.com
/ / /      \ Mountain View, CA 94043          http://www.triscend.com

----------------------------------------------------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]