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]

Re: [RFA] Remove src-font


On Tue, 5 Mar 2002, Martin M. Hunt wrote:

> How about changing the section in question to this:
>
>   # There are a bunch of console prefs that have no UI
>   # for the user to modify them.  In the event that the user
>   # really wants to change them, they will have to be modified
>   # in prefs.tcl or by editing .gdbtkinit.  When these prefs
>   # gain a prefs UI, the user may change them dynamically
>   # and the console window will need notification that they
>   # have changed.  Add them to the following list and
>   # Console::_update_option.
>   foreach option {gdb/console/wrap} {
>     pref add_hook $option [code $this _update_option]
>   }

Yes, excellent. Exactly. Lord knows we've abused the preferences thing
long enough. All the examples of doing it the right way that we can
possible infect the code with is a good thing, imo.

THanks!
Keith



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