Created by Mariano Draghi on 2012-03-10 and last modified on 2012-03-15

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://lists.launchpad.net/zim-wiki/msg01649.html

Get this branch:
bzr branch lp:~chaghi/zim/zim-profiles
Only Mariano Draghi can upload to this branch. If you are Mariano Draghi please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Mariano Draghi

Recent revisions

524. By Mariano Draghi on 2012-03-15

Added some docstrings. Added more comments explaining the profile loading/changing logic.

523. By Mariano Draghi on 2012-03-15

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

522. By Mariano Draghi on 2012-03-13

Added support for profile styles

521. By Mariano Draghi on 2012-03-12

Oops! Fixed some typos in docstrings and comments

520. By Mariano Draghi on 2012-03-11

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 on 2012-03-11

Marked automount plugin as profile independent. Made de unit-test for the is_profile_independent attribute a litte more robust

518. By Mariano Draghi on 2012-03-11

Minor cleanup and docstrings for load_profile method (it no longer receives a notebook object)

517. By Mariano Draghi on 2012-03-11

Moved the load_profile method call to the open-notebook handler, so it's only in one point

516. By Mariano Draghi on 2012-03-11

Added unit-test for new profiles

515. By Mariano Draghi on 2012-03-11

Fixed location for signal 'preferences-changed'. Added some unit-tests.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.