Make webactivity compatible with webkit1

If a env variable SUGAR_USE_WEBKIT1 exists,
uses a different module to start the activity using a local webserver,
borrowed from wikipedia activity.
When use webkit1 the web inspector is not enabled, because do not work.

Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
This commit is contained in:
Gonzalo Odiard
2013-12-13 10:51:09 -03:00
parent ee88193186
commit f52b4e1a96
3 changed files with 209 additions and 1 deletions
+5 -1
View File
@@ -17,4 +17,8 @@
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
exec sugar-activity sugar3.activity.webactivity.WebActivity $@
if [ "$SUGAR_USE_WEBKIT1" == "yes" ]; then
exec sugar-activity sugar3.activity.webkit1.WebActivity $@
else
exec sugar-activity sugar3.activity.webactivity.WebActivity $@
fi