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]

[RFA] debug window fix


There is a problem with the Debug WIndow options dialog.  
Selecting one of the 3 radiobuttons on the top causes
the error.

-- 
Martin Hunt
GDB Engineer
Red Hat, Inc.

2002-01-02  Martin M. Hunt  <hunt@redhat.com>

	* library/debugwin.itb: Fix incorrect button names
	so they will be enabled/disabled properly.

Index: library/debugwin.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/debugwin.itb,v
retrieving revision 1.6
diff -u -p -r1.6 debugwin.itb
--- debugwin.itb	2001/11/08 18:31:40	1.6
+++ debugwin.itb	2002/01/03 21:06:37
@@ -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
       }
     }


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