← Back to team overview

zim-wiki team mailing list archive

Re: Styles per profile?


On Mon, Mar 12, 2012 at 3:27 PM, Mariano Draghi <mdraghi@xxxxxxxxx> wrote:
> I see that the PageView object is already hooked to the
> preferences-changed signal, which triggers a _reload_style(). It would
> be easy to put there some logic to first try to load a style specific
> for the profile (if the notebook has one). Styles could be searched in
>   XDG_CONFIG_HOME/zim/styles/<profile-name>.conf

Also be aware that there is a hack for loading custom font in the
preferences dialog code.

> Jaap, what do you think? If you agree, I'll try to add this to the
> zim-profiles branch

Sure, go ahead.

-- Jaap