[gnome-software/gnome-3-20] trivial: Fix a warning when a PackageKit backend emits RefreshCache



commit 48b7201f39ab56f866b004430bfb08561f5a7215
Author: Richard Hughes <richard hughsie com>
Date:   Wed Mar 2 15:34:47 2016 +0000

    trivial: Fix a warning when a PackageKit backend emits RefreshCache

 src/plugins/packagekit-common.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/packagekit-common.c b/src/plugins/packagekit-common.c
index ea765a4..4f3eecd 100644
--- a/src/plugins/packagekit-common.c
+++ b/src/plugins/packagekit-common.c
@@ -51,6 +51,7 @@ packagekit_status_enum_to_plugin_status (PkStatusEnum status)
        case PK_STATUS_ENUM_TEST_COMMIT:
        case PK_STATUS_ENUM_RUNNING:
        case PK_STATUS_ENUM_SIG_CHECK:
+       case PK_STATUS_ENUM_REFRESH_CACHE:
                plugin_status = GS_PLUGIN_STATUS_SETUP;
                break;
        case PK_STATUS_ENUM_DOWNLOAD:


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