Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webactivity.py
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2012-01-16 11:52:00 (GMT)
committer Manuel QuiƱones <manuq@laptop.org>2012-01-23 11:58:48 (GMT)
commit356c2da64a39244fb309a8274e6ec72cff0efe0a (patch)
tree14f8603f6cd77f86bff0d9a3c1710e390b46efc9 /webactivity.py
parentca4ae1c7374304c872a4f38f670aa590e45150ff (diff)
Append the current Sugar (Sucrose) version to the user agent
This identifier is used in ASLO to determine which activities can be downloaded (ASLO is parsing the user agent of the Browser to provide an appropriate activity version, if it fails to get the Sugar version from the agent string, it uses the last stable version, which is 0.94 at the moment). One thing that is not perfectly handled by this patch is that we need to modify the user agent for every WebView (see [1]). Furthermore we need to modify the Sugar version in Browse accordingly with each Sugar release as the Sugar version is only availble in the shell and not in the toolkit. [1] https://lists.webkit.org/pipermail/webkit-gtk/2012-January/000893.html Signed-off-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'webactivity.py')
0 files changed, 0 insertions, 0 deletions