[gnome-software] Do not fake the installed popular app state



commit 7f89959d254002b3633cb97d2e224556b759a946
Author: Richard Hughes <richard hughsie com>
Date:   Fri Aug 23 11:10:41 2013 +0100

    Do not fake the installed popular app state

 src/plugins/gs-plugin-hardcoded-popular.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/gs-plugin-hardcoded-popular.c b/src/plugins/gs-plugin-hardcoded-popular.c
index e94f058..3037156 100644
--- a/src/plugins/gs-plugin-hardcoded-popular.c
+++ b/src/plugins/gs-plugin-hardcoded-popular.c
@@ -64,10 +64,6 @@ gs_plugin_add_popular (GsPlugin *plugin,
        /* just add each one */
        for (i = 0; apps[i] != NULL; i++) {
                app = gs_app_new (apps[i]);
-                if ((i % 2) == 0)
-                        gs_app_set_state (app, GS_APP_STATE_INSTALLED);
-                else
-                        gs_app_set_state (app, GS_APP_STATE_AVAILABLE);
                gs_plugin_add_app (list, app);
        }
        return TRUE;


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