Merge lp:~aauzi/midori/fix-1179200-6 into lp:midori
Status: | Merged |
---|---|
Approved by: | Cris Dywan |
Approved revision: | 6328 |
Merged at revision: | 6452 |
Proposed branch: | lp:~aauzi/midori/fix-1179200-6 |
Merge into: | lp:midori |
Diff against target: |
233 lines (+127/-9) 1 file modified
midori/midori-bookmarks-db.c (+127/-9) |
To merge this branch: | bzr merge lp:~aauzi/midori/fix-1179200-6 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Cris Dywan | Approve | ||
Review via email: mp+186400@code.launchpad.net |
This proposal supersedes a proposal from 2013-09-17.
Commit message
Cache bookmark items to avoid their recreation on database reads
Description of the change
Sixth step for the merge of fix-1179200
This step cache all bookmark items in order to avoid their recreation on database reads.
The cache is recursively populated and cleared for folders addition or removals.
Thanks tp this change, items are consistent in bookmark bar and panel and the following use case/sequence works.
Having a bookmark that's not in the boolùark bar, visible in the panel
Edit it from the panel and add it to the bookmark bar
It appears in the bookmark bar
Edit it from the bar and remove it from the bar
Edit it from the panel
Without the fix:
the item appears with the bookmark bar state checked (the last state it had when it was edited in the panel)
With the fix:
the item appears with the current bookmark bar state: unchecked
Works as expected