Attached is a clean-up patch to FormPreferences and LyXRC.

>From the ChangeLog:

       * src/frontends/xforms/xform_helpers.[Ch]: new files. Repository for
       useful xforms helper functions. At present contains only formatted().
       Input a string and it returns it with line breaks so that in fits
       inside the label.

       * src/frontends/xforms/Makefile.am: add new files.

       * src/lyxrc.[Ch] (getDescription): new name for getFeedback.
       * src/lyxrc.C (getDescription): Removed '\n's from strings. Corrected
       punctuation.

       * src/frontends/xforms/FormPreferences.[Ch]:
       * src/frontends/xforms/forms/form_preferences.fd: No new functionality
       but lots of little clean ups. Removed enum State. Make use of
       formatted(). Constify lots of methods. Perhaps best of all: removed
       requirement for that horrible reinterpret_cast from pointer to long in
       feedbackPost(). 

Angus

When untarred the attachment will contain:

PATCH31Oct2000/src/frontends/xforms/xform_helpers.h
PATCH31Oct2000/src/frontends/xforms/xform_helpers.C
PATCH31Oct2000/patch

patch31Oct2000.tar.bz2

Reply via email to