Merge lp:~gue5t/midori/open-in-tabs into lp:midori
Proposed by
gue5t gue5t
Status: | Merged |
---|---|
Approved by: | gue5t gue5t |
Approved revision: | 6658 |
Merged at revision: | 6685 |
Proposed branch: | lp:~gue5t/midori/open-in-tabs |
Merge into: | lp:midori |
Diff against target: |
55 lines (+10/-3) 2 files modified
midori/midori-browser.c (+7/-2) panels/midori-bookmarks.c (+3/-1) |
To merge this branch: | bzr merge lp:~gue5t/midori/open-in-tabs |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
André Auzi | Approve | ||
Midori Devs | Pending | ||
Review via email: mp+214880@code.launchpad.net |
Commit message
Fix "open all in tabs" for bookmarks
Description of the change
Currently "open all in folder" does not work for bookmarks in the sidepanel, menubar, or bookmarks toolbar. The sidepanel is broken because it opens all bookmarks in the folder *containing* the folder on which the action is performed, while the other two are operating on KatzeArrays which do not have their children loaded. This fixes both the midori-browser.c and bookmarks panel implementations so all three ways to access the feature work.
To post a comment you must log in.
The code is correct and works fine.
Nevertheless, katze-arrayaction implements the update_folder signal that may be used to avoid future code duplication if another folder submenu action is added in the popup menu and unnecessary database read as long as the menu is up to date.
This can be investigated and cleaned up later though.