[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [g-i] fonts: a few thoughts

On Tuesday 06 December 2005 21:39, Attilio Fiandrotti wrote:
> Vice versa, i think we can for sure "tell" the GTK frontend to reload
> gtkrc, but what would be the most appropriate way? adding a
> frontend_reload_fonts() function to the cdebconf frontend API?

We'd need to be able to call it from localechooser, which is a script, not 
a C program. Maybe a small utility program (e.g. /bin/gtkrc-reload) that 
can be called from a script could be written to do this?

> I think parsing the gtkrc file at every frontend_initialize() call
> would be the best way to reload updated fonts preferences.

Well, we only need the update when a different language is selected.

Attachment: pgp8gbXwbKsst.pgp
Description: PGP signature

Reply to: