Closed samdroid-apps closed 8 years ago
No, it looks unnecessarily invasive. Further changes to the file will be expensive to backport. You have instead opportunities to;
from gi.repository import WebKit2 as WebKitn
,self._has_local_help
; (although it isn't clear why that was done, the variable is not used outside __init__
).API version independent coding is well worth the effort when both versions are expected to be in use.
Thanks @quozl.
API version independent coding is well worth the effort when both versions are expected to be in use.
It also adds a maintenance burden to the upstream. As discussed on the sugar-toolkit-gtk3 pull request, the consensus was not to adopt this option. Running WebKit1 is very risky in 2k16, and not something that SugarLabs should endorse.
I've updated patch as per your recommendations. Please review.
So as discussed on the sugar-toolkit-gtk3 thread, I have changed the patch to be a simple port to WebKit2.
@quozl, does this look like an easy to revert patch from the OLPC side?