diff options
author | Manuel Quiñones <manuq@laptop.org> | 2012-03-28 18:32:15 (GMT) |
---|---|---|
committer | Manuel Quiñones <manuq@laptop.org> | 2012-03-28 19:21:24 (GMT) |
commit | aa109ec239afe692c0ea471670647e0c886e0a92 (patch) | |
tree | 4a2ec9c756cbce5a7908363dcad555a2dfa9d723 /linkbutton.py | |
parent | fe62a1bf0db214c5f302963aa5593502dfeae5f8 (diff) |
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 <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'linkbutton.py')
0 files changed, 0 insertions, 0 deletions