gjs Gio#read_finish() Operation not supported - then how to get a web page?
- From: sduc gamilcairo <sduclos cairo gmail com>
- To: gnome-shell-list gnome org
- Subject: gjs Gio#read_finish() Operation not supported - then how to get a web page?
- Date: Thu, 24 Feb 2011 11:06:51 -0500
Hi,
>From gnome-shell I can call:
let file = Gio.file_new_for_uri(uri);
and then
file.read_async(0, null, function(source, result) {let stream =
source.read_finish(result); });
But then gjs say that read_finish() is not supported
So I wounder what is the trick to download web page ?
I can't find any hints from reading the code in:
~/gnome-shell/source/gnome-shell/tests/interactive
or
~/gnome-shell/source/gnome-shell/js/ui
Example from seed using the call read_finish() work though.
thanks,
Sylvain.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]