Merge lp:~kalikiana/midori/ctxtabnew into lp:midori
Proposed by
Cris Dywan
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | André Stösel | ||||
Approved revision: | 6336 | ||||
Merged at revision: | 6343 | ||||
Proposed branch: | lp:~kalikiana/midori/ctxtabnew | ||||
Merge into: | lp:midori | ||||
Diff against target: |
113 lines (+38/-35) 1 file modified
midori/midori-view.c (+38/-35) |
||||
To merge this branch: | bzr merge lp:~kalikiana/midori/ctxtabnew | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
André Stösel | Approve | ||
Review via email:
|
Commit message
Call ensure_link_uri in context-menu and split menu_new_tab callback
Description of the change
The issue that seems to be troubling here is that view->link_uri, a variable that is separate from the hit test result, is or isn't filled in at the time of the context menu. The hybrid tab menu callback isn't robust enough to cope.
Seeing as the real solution would be to kill the old view->link-uri, the next best less introsive fix is to enforce it to be uptodate before the context menu call and split and simplify the new tab callbacks for added robustness.
To post a comment you must log in.
Looks good to me!