[Zim-wiki] Styles per profile?

2012-03-12 Thread Mariano Draghi
Hi,

One of the Jaap's ideas with the profile implementation was supporting
use cases like this one:
LP bug #539370: Custom font selection different per notebook [
https://bugs.launchpad.net/zim/+bug/539370 ].

This would require that the styles could be also be defined by
profile. I'm interested in this feature, so I was thinking on
implementing it ;-)

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

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


--
Mariano

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Styles per profile?

2012-03-12 Thread Jaap Karssenberg
On Mon, Mar 12, 2012 at 3:27 PM, Mariano Draghi mdra...@gmail.com 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

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] problems installing zim0.55 on mac OS 10.7.3

2012-03-12 Thread Robert Corty
I am still stuck on the same issue, if anyone has any ideas.

-Robert Corty


On Thu, Mar 1, 2012 at 10:19 AM, Robert Corty rco...@gmail.com wrote:
 On Thu, Mar 1, 2012 at 10:17 AM, Jaap Karssenberg
 jaap.karssenb...@gmail.com wrote:
 On Thu, Mar 1, 2012 at 4:14 PM, Robert Corty rco...@gmail.com wrote:

  So does the list of paths contain /path/to/zim-0.55 or . ? Because
  the
  files that is where the missing files are.

 Yes, /Users/rcorty/Desktop/zim-0.55 is the first item listed.


 Them I'm out of ideas -- any Mac users want to jump in ?

 Also, not sure if this is useful at all, but I opened zim.py and
 found that the error is on line 42, import zim.  Thanks very much
 for your attention/ideas, Jaap.


 -- Jaap


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp