From aa109ec239afe692c0ea471670647e0c886e0a92 Mon Sep 17 00:00:00 2001 From: Manuel QuiƱones Date: Wed, 28 Mar 2012 18:32:15 +0000 Subject: Pass URI instead of file path when the activity starts from a file If the MIME type of the file that the activity reads is not "text/plain" or "text/uri-list", it will load the file as-is in the default tab. But WebKit needs an URI, and we are passing the file path. Appending 'file://' to the file path solves the issue. This fixes second part of #3300 . Signed-off-by: Manuel QuiƱones Acked-by: Simon Schampijer --- (limited to 'webtoolbar.py') -- cgit v0.9.1