> Hi Daniel,
>         I'm compiling this patch now. It looks good though. I see you
> used Bruc Pearson hint to get an XAP_App pointer. I saved that one too.
>
> One thing I have noticed is that you haven't internationalized the code
> the horrible Abi way and instead used the much nicer gettext. If the
> patch
> works out like I think it should, I'll fix this for you so you can see
> how
> it is done. Unfortunately we haven't migrated to gettext yet.

Damn, forgot about this.

Actually I have internationalised the "Default Page Size" but deffered
the paper sizes (the gettext I used is output by glade) thinking that
'A4' was not translatable. I later changed my mind but forgot about it.

Sorry.

Dan
-x-
>
> Cheers
>
> Martin
>
>
> On Wed, 6 Dec 2000, Daniel Thompson wrote:
>
> > Hi Folks.
> >
> > The attached patch does the following:
> >   - added XP support for a DefaultPageSize in the preferences and text
> >       engine.
> >   - added unix GUI support for same (in the Other tab).
> >   - provides stubs (that honour the textual prefs file) for all other
> >       platforms
> >   - fixed unix gui bug causing the ruler to revert to inches each time
> the
> >       options dialog was used.
> >
> > Setting the default page size will currently affect *all* documents
> when
> > they are loaded. This should/will be fixed when the Page Setup dialog
> > is done.  However this patch should really interest European users.
> >
> > The patch was produced against 0.7.11 but applies succesfully to the
> > latest CVS version.
> >
> > Be warned that this is my first jaunt into C++ but I'm fairly sure its
>
> > all OK. I am a little concered about using fp_PageSize::Predefined
> from
> > the GUI code, I suspect the right approach is to move fp_PageSize (or
> > something like it) from text/fmt to af/util. I think this would be
> best
> > in a different patch. I'm happy to write that patch providing people
> > agree with me!
> >
> >     Cheers
> >
> >     Daniel
> >     --xx--
> > --
> > Daniel Thompson (Merlin) <[EMAIL PROTECTED]>
> >
> > How many dull people does it take to change a light bulb?    One.
> >
>

-- 
Daniel Thompson (Merlin) <[EMAIL PROTECTED]>

How many dull people does it take to change a light bulb?    One.

Sent through GMX FreeMail - http://www.gmx.net

Reply via email to