lp:~chaghi/zim/zim-profiles
This branch adds support for Zim profiles. Profiles can store a set of preferences and plugins, different from the global preferences. Notebooks can optionally use a profile instead of the global preferences. For use cases see f.i. bug #539370, bug #656446. See also this thread in the mailing list: https:/
- Get this branch:
- bzr branch lp:~chaghi/zim/zim-profiles
Branch merges
- Jaap Karssenberg: Pending requested
-
Diff: 777 lines (+425/-17)12 files modifiedtests/config.py (+31/-0)
tests/gui.py (+7/-0)
tests/notebook.py (+132/-2)
tests/pageview.py (+32/-1)
tests/plugins.py (+10/-0)
zim/__init__.py (+147/-8)
zim/config.py (+6/-0)
zim/gui/__init__.py (+11/-4)
zim/gui/pageview.py (+18/-1)
zim/notebook.py (+18/-0)
zim/plugins/__init__.py (+10/-1)
zim/plugins/automount.py (+3/-0)
Related bugs
Bug #539370: Custom font selection different per notebook | Wishlist | Fix Released | |
Bug #656446: Notebook-specific plugins | Wishlist | Fix Released |
Related blueprints
Branch information
Recent revisions
- 524. By Mariano Draghi
-
Added some docstrings. Added more comments explaining the profile loading/changing logic.
- 523. By Mariano Draghi
-
Improved the profile loading method, so the profile can be changed after the notebook was opened. Added a minimum GUI support for the profile setting. Fixed the style refresh when changing profiles. Added support for properly refreshing the plugins when changing profiles
- 520. By Mariano Draghi
-
Made a little bit more robust the plugin handling when loading (or changing) a profile. Any independent plugin already loaded is kept (and added to the profile if necessary). Any other loaded plugin not present in the profile preferences is unloaded.
- 519. By Mariano Draghi
-
Marked automount plugin as profile independent. Made de unit-test for the is_profile_
independent attribute a litte more robust - 518. By Mariano Draghi
-
Minor cleanup and docstrings for load_profile method (it no longer receives a notebook object)
- 517. By Mariano Draghi
-
Moved the load_profile method call to the open-notebook handler, so it's only in one point
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~jaap.karssenberg/zim/pyzim