Re: [Zim-wiki] Disabling/Enabling plugins per Notebook

2012-03-18 Thread Mariano Draghi
Hi, I think we're almost there; I added support for styles per profile too, and aded the field Profile to the properties dialog, so we now have a (basic) UI for configuring the profiles. Maybe it should be a combo box showing the profiles instead of a text field... but I'll leave that for

Re: [Zim-wiki] Disabling/Enabling plugins per Notebook

2012-03-10 Thread Mariano Draghi
On Fri, Mar 9, 2012 at 10:49 AM, Jaap Karssenberg jaap.karssenb...@gmail.com wrote: I would suggest a separate file in ~/.config/zim. E.g. ~/config/zim/profiles/myprofile.conf . That way a profile can be shared by multiple notebooks. This was my original intention for profiles. Hi, I just

Re: [Zim-wiki] Disabling/Enabling plugins per Notebook

2012-03-09 Thread Mariano Draghi
On Wed, Mar 7, 2012 at 11:31 AM, Jaap Karssenberg jaap.karssenb...@gmail.com wrote: Yes, sounds good to me for first implementation. For now I would not try to merge, just replace and emit the preferences-changed signal. This signal should trigger any updates in the GUI that follow from the

Re: [Zim-wiki] Disabling/Enabling plugins per Notebook

2012-03-09 Thread Jaap Karssenberg
On Fri, Mar 9, 2012 at 1:38 PM, Mariano Draghi mdra...@gmail.com wrote: The first has to do with some unit tests. A few tests instantiate a NotebookInterface and/or a GtkInterface without opening a notebook, and then perform some asserts on the default plugins. The problem is: the plugins are

Re: [Zim-wiki] Disabling/Enabling plugins per Notebook

2012-03-09 Thread Mariano Draghi
On Fri, Mar 9, 2012 at 10:10 AM, Jaap Karssenberg jaap.karssenb...@gmail.com wrote: On Fri, Mar 9, 2012 at 1:38 PM, Mariano Draghi mdra...@gmail.com wrote: The first has to do with some unit tests. A few tests instantiate a NotebookInterface and/or a GtkInterface without opening a notebook,

Re: [Zim-wiki] Disabling/Enabling plugins per Notebook

2012-03-09 Thread Mariano Draghi
On Fri, Mar 9, 2012 at 10:49 AM, Jaap Karssenberg jaap.karssenb...@gmail.com wrote: On Fri, Mar 9, 2012 at 2:40 PM, Mariano Draghi mdra...@gmail.com wrote: BTW, I'm using the notebook.zim file as the profile, so apart from the Notebook section, it might contain the General, GtkInterface and

Re: [Zim-wiki] Disabling/Enabling plugins per Notebook

2012-03-07 Thread Mariano Draghi
On Tue, Mar 6, 2012 at 7:00 AM, Jaap Karssenberg jaap.karssenb...@gmail.com wrote: On Tue, Mar 6, 2012 at 5:25 AM, Adam Porter a...@alphapapa.net wrote: Does Zim load the plugins when a notebook is opened, or when the daemon is loaded? They are opened per instance, but they open before the

Re: [Zim-wiki] Disabling/Enabling plugins per Notebook

2012-03-07 Thread Jaap Karssenberg
On Wed, Mar 7, 2012 at 2:34 PM, Mariano Draghi mdra...@gmail.com wrote: On Tue, Mar 6, 2012 at 7:00 AM, Jaap Karssenberg jaap.karssenb...@gmail.com wrote: On Tue, Mar 6, 2012 at 5:25 AM, Adam Porter a...@alphapapa.net wrote: Does Zim load the plugins when a notebook is opened, or when the

Re: [Zim-wiki] Disabling/Enabling plugins per Notebook

2012-03-06 Thread Jaap Karssenberg
On Tue, Mar 6, 2012 at 5:25 AM, Adam Porter a...@alphapapa.net wrote: On Sat, Mar 3, 2012 at 21:56, Mariano Draghi mdra...@gmail.com wrote: How difficult could it be to (optionally) support the plugins list and the [*Plugin] sections in the notebook.zim file? I really like this idea.  Even if

Re: [Zim-wiki] Disabling/Enabling plugins per Notebook

2012-03-06 Thread hansbkk
Note that within Windows at least, this should be available now if you use the Portable implementation, just create a separate instance of the zim app folder and run your alternative configuration from that. On Sun, Mar 4, 2012 at 10:56 AM, Mariano Draghi mdra...@gmail.com wrote: I wonder if it

Re: [Zim-wiki] Disabling/Enabling plugins per Notebook

2012-03-05 Thread Adam Porter
On Sat, Mar 3, 2012 at 21:56, Mariano Draghi mdra...@gmail.com wrote: How difficult could it be to (optionally) support the plugins list and the [*Plugin] sections in the notebook.zim file? I really like this idea. Even if it wasn't exposed in the UI, it would be nice. Does Zim load the

Re: [Zim-wiki] Disabling/Enabling plugins per Notebook

2012-03-04 Thread Christoph Zwerschke
Am 04.03.2012 04:56, schrieb Mariano Draghi: I wonder if it is somewhere in the road map the ability to turn plugins on and off in a notebook by notebook basis. ... What do you think? Does any of this make sense to anyone else? Makes sense, and I can even imagine that for certain plugins, it

[Zim-wiki] Disabling/Enabling plugins per Notebook

2012-03-03 Thread Mariano Draghi
Hi, I'm kind of new to Zim, but I've been using it for the last couple of weeks, and is quickly becoming one of my preferred apps. I'm using it both on Linux (Ubuntu 12.04, which is my main platform) and Windows 7 (at my job), syncing my notebooks using Dropbox. First of all, I'd like to thank