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



commit eeb6ce58d053a40cee7947dd9275685754426a13
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]