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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user