[gnome-software] Do not set the package name when getting updates



commit b379fdd2f7de3762e597612facc285983b8b059a
Author: Richard Hughes <richard hughsie com>
Date:   Fri Sep 6 12:31:34 2013 +0100

    Do not set the package name when getting updates
    
    The application name is not the package name, and when we come to de-duplicate
    GsApps we actually want to show the correct name from the desktop file.
    
    Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=707548

 src/plugins/gs-plugin-packagekit.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-packagekit.c b/src/plugins/gs-plugin-packagekit.c
index fa2b483..e5bde99 100644
--- a/src/plugins/gs-plugin-packagekit.c
+++ b/src/plugins/gs-plugin-packagekit.c
@@ -346,7 +346,6 @@ gs_plugin_packagekit_add_updates_results (GsPlugin *plugin,
                gs_app_set_metadata (app, "update-name", split[PK_PACKAGE_ID_NAME]);
                gs_app_set_metadata (app, "update-details", update_text);
                gs_app_set_metadata (app, "install-kind", "package");
-               gs_app_set_name (app, split[PK_PACKAGE_ID_NAME]);
                gs_app_set_version (app, split[PK_PACKAGE_ID_VERSION]);
                gs_app_set_state (app, GS_APP_STATE_UPDATABLE);
                gs_app_set_kind (app, GS_APP_KIND_PACKAGE);


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