After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 631410 - Port gapplookupgconf.c to using x-scheme-handler/
Port gapplookupgconf.c to using x-scheme-handler/
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
: 633988 (view as bug list)
Depends on: 631398
Blocks: 631433
 
 
Reported: 2010-10-05 12:58 UTC by Bastien Nocera
Modified: 2010-11-04 13:53 UTC
See Also:
GNOME target: 3.0
GNOME version: ---


Attachments
Replace "gio-desktop-app-info-lookup" extension point (6.98 KB, patch)
2010-10-05 14:03 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2010-10-05 12:58:18 UTC
+++ This bug was initially created as a clone of Bug #631398 +++

When asked for the app supporting scheme "foo", it should look for the app handling mime-type "x-scheme-handler/foo" instead.
Comment 1 Bastien Nocera 2010-10-05 14:03:56 UTC
Created attachment 171768 [details] [review]
Replace "gio-desktop-app-info-lookup" extension point

With a native version, that looks for desktop items supporting
x-scheme-handler/foo, when looking for a handler for the "foo"
URI scheme handler.
Comment 2 Matthias Clasen 2010-10-05 15:39:46 UTC
Looks good to me.
Not sure if we want to keep the lookup stuff around deprecated for a while, to give third parties time to adapt.
Comment 3 Bastien Nocera 2010-10-05 16:16:12 UTC
Attachment 171768 [details] pushed as 9b262f1 - Replace "gio-desktop-app-info-lookup" extension point
Comment 4 Mart Raudsepp 2010-10-26 09:44:52 UTC
This breaks public API, which doesn't seem appropriate to me. (And compilation of gvfs-1.6 against glib-2.27)
Comment 5 Bastien Nocera 2010-10-26 09:49:26 UTC
(In reply to comment #4)
> This breaks public API, which doesn't seem appropriate to me.

It breaks the API between GIO and gvfs, nothing more.

> (And compilation
> of gvfs-1.6 against glib-2.27)

Use a more recent version of gvfs, or patch out the gconf lookup code.
Comment 6 Nimless 2010-11-04 13:53:18 UTC
*** Bug 633988 has been marked as a duplicate of this bug. ***