[gnome-software/1605-regression-repository-name-overwritten] packagekit: Set higher quality to gathered repository names



commit c53528f0832ac3ee4e1191502b3593ae40e34dda
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jan 31 08:41:05 2022 +0100

    packagekit: Set higher quality to gathered repository names
    
    The repository names gathered here are the expected names to be
    presented with to the user. Other parts of the code can set
    a guessed name with the same priority, which would otherwise overwrite
    the correct name.
    
    Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1605

 plugins/packagekit/gs-plugin-packagekit.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/packagekit/gs-plugin-packagekit.c b/plugins/packagekit/gs-plugin-packagekit.c
index d16a01a91..1ad913af5 100644
--- a/plugins/packagekit/gs-plugin-packagekit.c
+++ b/plugins/packagekit/gs-plugin-packagekit.c
@@ -423,10 +423,10 @@ gs_plugin_add_sources (GsPlugin *plugin,
                gs_app_set_state (app, pk_repo_detail_get_enabled (rd) ?
                                  GS_APP_STATE_INSTALLED : GS_APP_STATE_AVAILABLE);
                gs_app_set_name (app,
-                                GS_APP_QUALITY_LOWEST,
+                                GS_APP_QUALITY_NORMAL,
                                 pk_repo_detail_get_description (rd));
                gs_app_set_summary (app,
-                                   GS_APP_QUALITY_LOWEST,
+                                   GS_APP_QUALITY_NORMAL,
                                    pk_repo_detail_get_description (rd));
                gs_plugin_packagekit_set_packaging_format (plugin, app);
                gs_app_set_metadata (app, "GnomeSoftware::SortKey", "300");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]