[gnome-software] Always dedupe after refining results



commit 4cbcdf43f0cf8eb0ce16f8df23914dede4138403
Author: Richard Hughes <richard hughsie com>
Date:   Tue Oct 8 18:03:09 2013 +0100

    Always dedupe after refining results
    
    This ensures we show any update details for applications in the search results.

 src/gs-plugin-loader.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index b94dc38..576f7ec 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -205,6 +205,9 @@ gs_plugin_loader_run_refine (GsPluginLoader *plugin_loader,
                g_free (profile_id);
        }
 
+       /* dedupe applications we already know about */
+       gs_plugin_loader_list_dedupe (plugin_loader, list);
+
        /* success */
        ret = TRUE;
 out:


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