Re: GNOME Software Integration

Claudio Saavedra <[email protected]>
Newsgroups gmane.comp.gnome.apps.epiphany
Message-ID <[email protected]>
On Thu, 2013-10-17 at 18:22 +0100, Richard Hughes wrote:
> On 17 October 2013 13:48, Claudio Saavedra <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.