GNOME Bugzilla – Bug 789762
Support <launchable type="url"> for specifying the location of web apps
Last modified: 2017-12-05 11:24:06 UTC
Gnome Software uses the <url type="homepage"> tag to construct a desktop file to launch web applications with Epiphany. However, the AppData spec defines a <launchable type="url"> tag for specifying the location of web apps. If present, this should be used in preference to the homepage URL. https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-launchable
Created attachment 363371 [details] [review] Prefer the launchable tag for the URL of web apps I have created a patch that addresses this bug for which I would love some feedback. There are two specific points where I’m quite unsure if I approached them correctly. 1. Is it acceptable that the launchables are stored in a GHashTable instead of a GPtrArray? 2. Should anything be done in gs_app_to_string_append()?
> 1. Is it acceptable that the launchables are stored in a GHashTable I think it's fine. > Should anything be done in gs_app_to_string_append I think that would help debugging; so yes please.
Created attachment 363641 [details] [review] Prefer the launchable tag for the URL of web apps
Comment on attachment 363641 [details] [review] Prefer the launchable tag for the URL of web apps Looks great, thanks.