[gnome-software: 3/3] Merge branch '290-installing-an-app-its-add-ons-at-the-same-time-doesn-t-update-the-gui-properly' in
- From: Phaedrus Leeds <mwleeds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 3/3] Merge branch '290-installing-an-app-its-add-ons-at-the-same-time-doesn-t-update-the-gui-properly' in
- Date: Thu, 3 Jun 2021 01:08:23 +0000 (UTC)
commit c9066d37275e0a2444bebad9f9b37baeac8994e2
Merge: 4afb212af 03a612963
Author: Phaedrus Leeds <mwleeds protonmail com>
Date: Thu Jun 3 01:08:21 2021 +0000
Merge branch '290-installing-an-app-its-add-ons-at-the-same-time-doesn-t-update-the-gui-properly' into
'master'
Resolve "Installing an app & its add-ons at the same time doesn't update the GUI properly"
Closes #290
See merge request GNOME/gnome-software!734
plugins/packagekit/gs-plugin-packagekit-refine.c | 3 ++-
plugins/packagekit/gs-plugin-packagekit.c | 16 +++++++++++++++-
2 files changed, 17 insertions(+), 2 deletions(-)
---
diff --cc plugins/packagekit/gs-plugin-packagekit-refine.c
index 1f0388032,0b4548398..33d52e940
--- a/plugins/packagekit/gs-plugin-packagekit-refine.c
+++ b/plugins/packagekit/gs-plugin-packagekit-refine.c
@@@ -57,10 -57,10 +57,11 @@@ gs_plugin_initialize (GsPlugin *plugin
G_CALLBACK (gs_plugin_packagekit_repo_list_changed_cb), plugin);
pk_client_set_background (priv->client, FALSE);
pk_client_set_cache_age (priv->client, G_MAXUINT);
+ pk_client_set_interactive (priv->client, gs_plugin_has_flags (plugin, GS_PLUGIN_FLAGS_INTERACTIVE));
+ /* appstream can set "installed" state, which might not be accurate */
+ gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_RUN_BEFORE, "appstream");
/* need pkgname and ID */
- gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_RUN_AFTER, "appstream");
gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_RUN_AFTER, "packagekit");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]