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.
On 10 April 2013 09:23, James Henstridge <email address hidden> wrote: paths.APP_ INSTALL_ DESKTOP_ PATH context_ default( )
> @@ -1019,13 +1031,16 @@
> if not datadir:
> datadir = softwarecenter.
> context = GLib.main_
> - 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 app-install/ desktop or /usr/share/ app-install/ scopes.
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/
Regards,
Dmitrijs.