From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Seitz To: Insight Maling List Subject: [PATCH] Remove tix from SrcPref Date: Tue, 28 Aug 2001 16:05:00 -0000 Message-id: X-SW-Source: 2001-q3/msg00209.html Hi, This patch eliminates tix from SrcPref, the source window preferences dialog. Only three more references to tix in the source code! Keith ChangeLog 2001-08-28 Keith Seitz * library/srcpref.itb (build_win): Use iwidgets::spinint instead of tixControl. Patch Index: library/srcpref.itb =================================================================== RCS file: /cvs/src/src/gdb/gdbtk/library/srcpref.itb,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 srcpref.itb --- srcpref.itb 2000/02/07 00:19:42 1.1.1.1 +++ srcpref.itb 2001/08/28 23:03:12 @@ -131,9 +131,11 @@ body SrcPref::build_win {} { frame $f.x # Tab size - tixControl $f.x.size -label "Tab Size" -integer true -max 16 -min 1 \ - -variable [pref varname gdb/src/tab_size] \ - -options { entry.width 2 entry.font src-font} + itk_component add size { + iwidgets::spinint $f.x.size -labeltext "Tab Size" -range {1 16} \ + -step 1 -fixed 2 -width 2 -textvariable [pref varname gdb/src/tab_size] \ + -wrap 0 + } # Linenumbers # commented out because this option isn't really useful