! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Add GIO support for http uris


Description Nick Schermer editbugs 2009-08-21 07:10:54 CEST
Technically we could deprecated exo_url_show() and use gtk_show_uri(), but since the gtk version uses GIO in the background, the preferred applications frameworkin exo is not used.

The solution would be a GIO module for http uris. See also bug #5671.
Comment 1 Nick Schermer editbugs 2009-08-26 06:58:18 CEST
Working on this. I have the GIO module ready (extension based on GDesktopAppInfoLookup). The following changes have been made so far:

* GIO modules to launcher the exo-helper for various 'known' URIs (also fixes the bugs #4227 and #4497).
* Changes to exo-open to send a valid URI to gtk_show_uri, in case no --launch type is defined.
* Dropped the exo-uri.{c,h} files. People can use gtk_show_uri(). The about dialog hook has been moved to exo-gtk-extensions and renamed to exo_gtk_url_about_dialog_hook. It is still needed because Gtk uses gtk_show_uri by default since version 2.18.

This also requires the addition of a FileManager launcher in exo (bug #4445). Once that is pushed (will create a new branch until everything is tested) I'll take a look at the other bugs related to this topic too.
Comment 2 Nick Schermer editbugs 2009-08-26 17:12:01 CEST
Pushed in branch.

Bug #5687

Reported by:
Nick Schermer
Reported on: 2009-08-21
Last modified on: 2009-10-09


Nick Schermer
CC List:
3 users




Additional information