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 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 > new preferences. > I'm

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 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 no longer load

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 wrote: > On Fri, Mar 9, 2012 at 1:38 PM, Mariano Draghi 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 de

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

2012-03-09 Thread Jaap Karssenberg
On Fri, Mar 9, 2012 at 2:40 PM, Mariano Draghi 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 > PageView (plus any *Plugin) sections. Do you agree with this, or would > you prefer a separate file

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 wrote: > On Fri, Mar 9, 2012 at 2:40 PM, Mariano Draghi 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 >> PageView (plus any *Plugin) sections.