[gnome-software/gnome-3-18] Revert "Use the AppStream state when loading from a store"

commit 8bdfdb2c8378780c0fd9b7a33f4a4df73179a496
Author: Kalev Lember <klember redhat com>
Date:   Mon Oct 26 08:30:43 2015 +0100

    Revert "Use the AppStream state when loading from a store"
    This needs appstream-glib master to work right. With latest stable
    appstream-glib 0.5.1, this commit confused gnome-software state tracking
    and led to removed apps going back to the installed state a few seconds
    after having removed them.
    This reverts commit 0d365593c1926d9e2fd588a5650ca1fee1b7f15a.

 src/plugins/gs-plugin-appstream.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/plugins/gs-plugin-appstream.c b/src/plugins/gs-plugin-appstream.c
index e574e89..eb430eb 100644
--- a/src/plugins/gs-plugin-appstream.c
+++ b/src/plugins/gs-plugin-appstream.c
@@ -488,9 +488,6 @@ gs_plugin_refine_item (GsPlugin *plugin,
                case AS_APP_SOURCE_KIND_METAINFO:
                        gs_app_set_state (app, AS_APP_STATE_INSTALLED);
-               case AS_APP_SOURCE_KIND_APPSTREAM:
-                       gs_app_set_state (app, as_app_get_state (item));
-                       break;

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