[gnome-software] trivial: Actually reset the upgrade state



commit a3e136a35476266b65c64ff773a77f2b68e1090c
Author: Richard Hughes <richard hughsie com>
Date:   Wed May 25 11:39:33 2016 +0100

    trivial: Actually reset the upgrade state

 src/gs-shell-updates.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-shell-updates.c b/src/gs-shell-updates.c
index 83c8062..fca59bb 100644
--- a/src/gs-shell-updates.c
+++ b/src/gs-shell-updates.c
@@ -1210,6 +1210,7 @@ gs_shell_updates_invalidate_downloaded_upgrade (GsShellUpdates *self)
                return;
        if (gs_app_get_state (app) != AS_APP_STATE_UPDATABLE)
                return;
+       gs_app_set_state (app, AS_APP_STATE_AVAILABLE);
        g_debug ("resetting %s to AVAILABLE as the updates have changed",
                 gs_app_get_id (app));
 }


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