public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@cygnus.com>
To: Insight Maling List <insight@sources.redhat.com>
Subject: [PATCH] Remove tix from SrcPref
Date: Tue, 28 Aug 2001 16:05:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.33.0108281603230.2633-100000@makita.cygnus.com> (raw)

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

                 reply	other threads:[~2001-08-28 16:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.33.0108281603230.2633-100000@makita.cygnus.com \
    --to=keiths@cygnus.com \
    --cc=insight@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).