public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Remove tix from SrcPref
@ 2001-08-28 16:05 Keith Seitz
  0 siblings, 0 replies; only message in thread
From: Keith Seitz @ 2001-08-28 16:05 UTC (permalink / raw)
  To: Insight Maling List

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  <keiths@redhat.com>

	* 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-28 16:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-28 16:05 [PATCH] Remove tix from SrcPref Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).