Re: GNOME Software Integration



On Thu, 2013-10-17 at 18:22 +0100, Richard Hughes wrote:
On 17 October 2013 13:48, Claudio Saavedra <csaavedra gnome org> wrote:
I think that if the app directory inside .config/epiphany is properly set up, ephy
should pick it up.

One question; what's the hash? e.g.
/home/hughsie/.config/epiphany/app-epiphany-blogs.gnome.org-78bc86fe7b35b104876c509e0389094d556b5bbe
-- the MD5 of the URL or something?

It's the SHA1 of the user provided application name. Since we normalize
app names when creating the profile directory, this avoids clashing
directories with close names. See get_wm_class_from_app_title() in
ephy-web-app-utils.c.

In any case this hash is only relevant when creating a web app. When
managing the web apps ephy just picks all directories that start with
"app-" inside .config/epiphany. See
ephy_web_application_get_application_list () in the same file.

At some point it would make sense to document all of this...

Claudio




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