Re: gjs Gio#read_finish() Operation not supported - then how to get a web page?

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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]