Re: gjs Gio#read_finish() Operation not supported - then how to get a web page?
- From: Giovanni Campagna <scampa giovanni gmail com>
- To: sduc gamilcairo <sduclos cairo gmail com>
- Cc: gnome-shell-list gnome org
- Subject: Re: gjs Gio#read_finish() Operation not supported - then how to get a web page?
- Date: Thu, 24 Feb 2011 17:54:00 +0100
Il giorno gio, 24/02/2011 alle 11.06 -0500, sduc gamilcairo ha scritto:
> 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
It is not gjs, it is Gio that creates a GDummyFile instead of a
GDaemonFile, because it is not loading gvfs, which is not installed
under the jhbuild prefix.
(Tested with python as well)
Giovanni
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]