gnome-software:gbsneto/hide-on-close

Last commit made on 2021-12-17
Get this branch:
git clone -b gbsneto/hide-on-close https://git.launchpad.net/gnome-software

Branch merges

Branch information

Name:
gbsneto/hide-on-close
Repository:
lp:gnome-software

Recent commits

014d353... by Georges Basile Stavracas Neto

shell: Override GtkWindow.close_request

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.

Override the vfunc directly instead.

0c9edbb... by Philip Withnall

Merge branch 'refactor-threads7' into 'main'

gs-plugin-vfuncs: Remove add/remove shortcut and app_set_rating() vfuncs and associated code

See merge request GNOME/gnome-software!1140

074cdbd... by Philip Withnall

Merge branch 'refactor-threads8' into 'main'

packagekit: Merge packagekit-refresh and packagekit-refine-repos plugins into the main plugin

See merge request GNOME/gnome-software!1141

832f297... by Philip Withnall <email address hidden>

gs-plugin-loader: Drop unused refine function types

Signed-off-by: Philip Withnall <email address hidden>

Helps: #1472

5256abf... by Philip Withnall <email address hidden>

gs-plugin-vfuncs: Remove gs_plugin_app_set_rating()

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>

Helps: #1472