[gnome-software] Show the repo name in the sources dialog



commit 506b0ffb5b1232c2874e6c7bfd3f019fb748939a
Author: Richard Hughes <richard hughsie com>
Date:   Thu Mar 27 11:55:28 2014 +0000

    Show the repo name in the sources dialog
    
    The repo-id is an implementation detail and isn't supposed to be shown to the
    user.

 src/plugins/gs-plugin-packagekit.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-packagekit.c b/src/plugins/gs-plugin-packagekit.c
index 1ef58b1..78cc0c6 100644
--- a/src/plugins/gs-plugin-packagekit.c
+++ b/src/plugins/gs-plugin-packagekit.c
@@ -248,7 +248,9 @@ gs_plugin_add_sources (GsPlugin *plugin,
                gs_app_set_management_plugin (app, "PackageKit");
                gs_app_set_kind (app, GS_APP_KIND_SOURCE);
                gs_app_set_state (app, GS_APP_STATE_INSTALLED);
-               gs_app_set_name (app, GS_APP_QUALITY_LOWEST, id);
+               gs_app_set_name (app,
+                                GS_APP_QUALITY_LOWEST,
+                                pk_repo_detail_get_description (rd));
                gs_app_set_summary (app,
                                    GS_APP_QUALITY_LOWEST,
                                    pk_repo_detail_get_description (rd));


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