Code review comment for lp://staging/~jamesh/software-center/scan-scopes

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

On 10 April 2013 09:23, James Henstridge <email address hidden> wrote:
> @@ -1019,13 +1031,16 @@
> if not datadir:
> datadir = softwarecenter.paths.APP_INSTALL_DESKTOP_PATH
> context = GLib.main_context_default()
> - for desktopf in glob(datadir + "/*.desktop"):
> + for desktopf in glob(datadir + "/*.desktop") + glob(datadir + "/*.scope"):

Right, so scope files are in the same place as the .desktop files. I
will make sure app-install-data has them in the matching above place.
I didn't know at the time if we will use
/usr/share/app-install/desktop or /usr/share/app-install/scopes.

Regards,

Dmitrijs.

« Back to merge proposal