We want the main Software window not to be destroyed when it's
closed. So far, we've been connecting GsShell's close-request
signal, which doesn't seem to prevent the default handler from
running.
Since the introduction of `GsOdrsProvider` it has been unused, and
unimplemented by any of the built-in plugins.
This is all dead code.
Signed-off-by: Philip Withnall <email address hidden>
Helps: #1472
2d81346...
by
Philip Withnall <email address hidden>
gs-plugin-vfuncs: Remove add/remove shortcut vfuncs and associated code
No plugin provided support for them. This is functionality that
gnome-shell handles; gnome-software shouldn’t be doing it.
All this code was unused with the built-in set of plugins.
Signed-off-by: Philip Withnall <email address hidden>
Helps: #1472
e40d975...
by
Philip Withnall <email address hidden>
repos: Fix a minor memory leak when parsing key files
Spotted while working on the code unrelatedly.
Signed-off-by: Philip Withnall <email address hidden>
f890a19...
by
Philip Withnall <email address hidden>
repos: Drop plugin ordering requirements
The app IDs are set from construction time, so there’s no need for repos
refine to happen after packagekit or rpm-ostree refine.
This fixes a cycle in plugin construction introduced when merging the
packagekit-refine-repos plugin into packagekit.
Ultimately it would be nice to be able to get rid of the repos plugin,
and instead have the packagekit and rpm-ostree plugins set the
appropriate data on their apps and repos themselves. Doing it in a
separate plugin leads to ordering problems, increased latency, and
problems with keeping data in sync between the plugins, system, apps and
repo objects.
Signed-off-by: Philip Withnall <email address hidden>
Helps: #1472
2cff7ec...
by
Philip Withnall <email address hidden>
packagekit: Merge packagekit-refine-repos plugin into the main plugin
There was no reason to keep it separate, and since commit 83f5653b, the
packagekit-refine-repos plugin was no longer correctly matching with the
packagekit plugin as the chosen management plugin of PackageKit apps and
repos.
Handily, the existing `search_files_cb()` callback in the packagekit
plugin does exactly what we need for repos as well as apps, which means
that most of the code in the packagekit-refine-repos plugin can be
dropped as it duplicates code already present in the packagekit plugin.
Signed-off-by: Philip Withnall <email address hidden>
Helps: #1472
8dc753c...
by
Philip Withnall <email address hidden>
packagekit: Merge packagekit-refresh plugin into the main plugin
There was no reason to keep it separate, and since commit 83f5653b, the
packagekit-refresh plugin was no longer correctly matching with the
packagekit plugin as the chosen management plugin of PackageKit apps.
Signed-off-by: Philip Withnall <email address hidden>