On Thu, 2009-09-17 at 13:45 +0300, Claudio Saavedra wrote:
> El jue, 17-09-2009 a las 12:15 +0200, Thomas Perl escribió:
> > Hello!
> > 
> > What is the canonical way of opening a browser and the media player
> > (or more general: opening a URL and opening a local file) from code
> > on Fremantle?
> 
> gtk_show_uri() should work in theory, but I don't know if it does in
> practice.

Just for the record: It's not working very well ;)

If you use gtk_show_uri() with something like this: "http://zwong.de";
you get an error that the process "epiphany" could not be executed.

For "mailto:[email protected]"; you get an error that the process
"evolution" could not be executed and so on...

I was looking for a method which will work on http, ftp, mailto and file
URIs, but it looks like there is nothing ready made. So I now check the
protocol and do whatever DBus call is appropriate.

Cheers!
Conny


_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to