On Fri, Apr 9, 2010 at 8:39 PM, Thorsten Hackbarth
<thorsten.hackba...@gmx.de> wrote:
> I fixed the hard coded file extension in stores/files.py
>
> In notebook.zim it looks like this:
> [Notebook]
> stores_files_extension=.txt
>
> As you can see the config value includes the dot.
> Thereby its possible to set it to something like this:
> stores_files_extension=/README.txt
> and end up with a tree with a README.txt in every subdirectory.

Sorry for the late reply. I have been offline a lot last month, so
cleaning out my email log now.

Not sure this is the solution we are looking for. In general I would
say that if you want to use this to customize the layout of the
notebook this is a hack that might have unwanted side effects.
Probably cleaner to have a subclass of the file storage class for such
things.

On the other hand we could make layout more dynamic based on the
config file if we identify there is a limited number of variations
people might be interested in.

Regards,

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

Reply via email to